use args overrides to minimize diff

This commit is contained in:
Martin Zihlmann 2025-05-26 23:41:24 +01:00
parent b8005a8f17
commit ac6ccd1513
No known key found for this signature in database
GPG Key ID: 0F7784F41354DE99
5 changed files with 10 additions and 0 deletions

View File

@ -18,3 +18,5 @@
FROM debian:10.13
RUN date > /date
COPY context/foo /foo
# RUN echo hey

View File

@ -20,4 +20,5 @@ FROM debian:10.13
RUN mkdir /foo
WORKDIR /foo
RUN apt-get update && apt-get install -y make
COPY context/bar /context
RUN echo "hey" > foo

View File

@ -20,4 +20,5 @@ FROM debian:10.13
RUN mkdir /foo
WORKDIR /foo
RUN apt-get update && apt-get install -y make
COPY context/bar /context
RUN echo "hey" > foo

View File

@ -18,3 +18,5 @@
FROM debian:10.13
RUN date > /date
COPY context/foo /foo
# RUN echo hey

View File

@ -87,6 +87,10 @@ var additionalKanikoFlagsMap = map[string][]string{
"Dockerfile_test_maintainer": {"--single-snapshot"},
"Dockerfile_test_target": {"--target=second"},
"Dockerfile_test_snapshotter_ignorelist": {"--use-new-run=true", "-v=trace"},
"Dockerfile_test_cache": {"--cache-copy-layers=true"},
"Dockerfile_test_cache_oci": {"--cache-copy-layers=true"},
"Dockerfile_test_cache_install": {"--cache-copy-layers=true"},
"Dockerfile_test_cache_install_oci": {"--cache-copy-layers=true"},
"Dockerfile_test_cache_copy": {"--cache-copy-layers=true"},
"Dockerfile_test_cache_copy_oci": {"--cache-copy-layers=true"},
}