Add support for scratch images, and integration test

This commit is contained in:
Priya Wadhwa
2018-04-12 14:57:33 -07:00
parent 0fd35166a3
commit d38319c416
7 changed files with 42 additions and 7 deletions
@@ -0,0 +1,4 @@
FROM scratch
ADD context/foo /foo
ENV hello hello
ADD context/foo /$hello
@@ -1,7 +1,7 @@
[
{
"Image1": "gcr.io/kbuild-test/docker-test-registry:latest",
"Image2": "gcr.io/kbuild-test/kbuild-test-registry:latest",
"Image1": "gcr.io/kaniko-test/docker-test-registry:latest",
"Image2": "gcr.io/kaniko-test/kaniko-test-registry:latest",
"DiffType": "File",
"Diff": {
"Adds": null,
@@ -0,0 +1,12 @@
[
{
"Image1": "gcr.io/kaniko-test/docker-test-scratch:latest",
"Image2": "gcr.io/kaniko-test/kaniko-test-scratch:latest",
"DiffType": "File",
"Diff": {
"Adds": null,
"Dels": null,
"Mods": null
}
}
]