summaryrefslogtreecommitdiffstats
path: root/pkg/container/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/container/testdata')
-rw-r--r--pkg/container/testdata/Dockerfile5
-rw-r--r--pkg/container/testdata/docker-pull-options/config.json7
-rw-r--r--pkg/container/testdata/scratch/test.txt1
-rw-r--r--pkg/container/testdata/utf16.envbin0 -> 54 bytes
-rw-r--r--pkg/container/testdata/utf16be.envbin0 -> 54 bytes
-rw-r--r--pkg/container/testdata/utf8.env3
-rw-r--r--pkg/container/testdata/valid.env1
-rw-r--r--pkg/container/testdata/valid.label1
8 files changed, 18 insertions, 0 deletions
diff --git a/pkg/container/testdata/Dockerfile b/pkg/container/testdata/Dockerfile
new file mode 100644
index 0000000..3653a63
--- /dev/null
+++ b/pkg/container/testdata/Dockerfile
@@ -0,0 +1,5 @@
+FROM scratch
+ENV PATH="/this/path/does/not/exists/anywhere:/this/either"
+ENV SOME_RANDOM_VAR=""
+ENV ANOTHER_ONE="BUT_I_HAVE_VALUE"
+ENV CONFLICT_VAR="I_EXIST_ONLY_HERE"
diff --git a/pkg/container/testdata/docker-pull-options/config.json b/pkg/container/testdata/docker-pull-options/config.json
new file mode 100644
index 0000000..c8b8e7c
--- /dev/null
+++ b/pkg/container/testdata/docker-pull-options/config.json
@@ -0,0 +1,7 @@
+{
+ "auths": {
+ "https://index.docker.io/v1/": {
+ "auth": "dXNlcm5hbWU6cGFzc3dvcmQK"
+ }
+ }
+}
diff --git a/pkg/container/testdata/scratch/test.txt b/pkg/container/testdata/scratch/test.txt
new file mode 100644
index 0000000..e7cbb71
--- /dev/null
+++ b/pkg/container/testdata/scratch/test.txt
@@ -0,0 +1 @@
+testfile \ No newline at end of file
diff --git a/pkg/container/testdata/utf16.env b/pkg/container/testdata/utf16.env
new file mode 100644
index 0000000..3a73358
--- /dev/null
+++ b/pkg/container/testdata/utf16.env
Binary files differ
diff --git a/pkg/container/testdata/utf16be.env b/pkg/container/testdata/utf16be.env
new file mode 100644
index 0000000..e523da7
--- /dev/null
+++ b/pkg/container/testdata/utf16be.env
Binary files differ
diff --git a/pkg/container/testdata/utf8.env b/pkg/container/testdata/utf8.env
new file mode 100644
index 0000000..2b3a9dc
--- /dev/null
+++ b/pkg/container/testdata/utf8.env
@@ -0,0 +1,3 @@
+FOO=BAR
+HELLO=您好
+BAR=FOO \ No newline at end of file
diff --git a/pkg/container/testdata/valid.env b/pkg/container/testdata/valid.env
new file mode 100644
index 0000000..3afbdc8
--- /dev/null
+++ b/pkg/container/testdata/valid.env
@@ -0,0 +1 @@
+ENV1=value1
diff --git a/pkg/container/testdata/valid.label b/pkg/container/testdata/valid.label
new file mode 100644
index 0000000..b4208bd
--- /dev/null
+++ b/pkg/container/testdata/valid.label
@@ -0,0 +1 @@
+LABEL1=value1