mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-19 10:05:16 +02:00
Add support for scratch images, and integration test
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user