mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 18:58:32 +02:00
Merge pull request #1192 from tp-tc/snapshot-maintainers
Handle `MAINTAINERS` when passing `--single-snapshot`.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
FROM scratch
|
||||
MAINTAINER nobody@domain.test
|
||||
# Add a file to the image to work around https://github.com/moby/moby/issues/38039
|
||||
COPY context/foo /foo
|
||||
@@ -73,9 +73,10 @@ var additionalDockerFlagsMap = map[string][]string{
|
||||
|
||||
// Arguments to build Dockerfiles with when building with kaniko
|
||||
var additionalKanikoFlagsMap = map[string][]string{
|
||||
"Dockerfile_test_add": {"--single-snapshot"},
|
||||
"Dockerfile_test_scratch": {"--single-snapshot"},
|
||||
"Dockerfile_test_target": {"--target=second"},
|
||||
"Dockerfile_test_add": {"--single-snapshot"},
|
||||
"Dockerfile_test_scratch": {"--single-snapshot"},
|
||||
"Dockerfile_test_maintainer": {"--single-snapshot"},
|
||||
"Dockerfile_test_target": {"--target=second"},
|
||||
}
|
||||
|
||||
// output check to do when building with kaniko
|
||||
|
||||
Reference in New Issue
Block a user