use args overrides to minimize diff
This commit is contained in:
parent
b8005a8f17
commit
ac6ccd1513
|
|
@ -18,3 +18,5 @@
|
||||||
|
|
||||||
FROM debian:10.13
|
FROM debian:10.13
|
||||||
RUN date > /date
|
RUN date > /date
|
||||||
|
COPY context/foo /foo
|
||||||
|
# RUN echo hey
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,5 @@ FROM debian:10.13
|
||||||
RUN mkdir /foo
|
RUN mkdir /foo
|
||||||
WORKDIR /foo
|
WORKDIR /foo
|
||||||
RUN apt-get update && apt-get install -y make
|
RUN apt-get update && apt-get install -y make
|
||||||
|
COPY context/bar /context
|
||||||
RUN echo "hey" > foo
|
RUN echo "hey" > foo
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,5 @@ FROM debian:10.13
|
||||||
RUN mkdir /foo
|
RUN mkdir /foo
|
||||||
WORKDIR /foo
|
WORKDIR /foo
|
||||||
RUN apt-get update && apt-get install -y make
|
RUN apt-get update && apt-get install -y make
|
||||||
|
COPY context/bar /context
|
||||||
RUN echo "hey" > foo
|
RUN echo "hey" > foo
|
||||||
|
|
|
||||||
|
|
@ -18,3 +18,5 @@
|
||||||
|
|
||||||
FROM debian:10.13
|
FROM debian:10.13
|
||||||
RUN date > /date
|
RUN date > /date
|
||||||
|
COPY context/foo /foo
|
||||||
|
# RUN echo hey
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,10 @@ var additionalKanikoFlagsMap = map[string][]string{
|
||||||
"Dockerfile_test_maintainer": {"--single-snapshot"},
|
"Dockerfile_test_maintainer": {"--single-snapshot"},
|
||||||
"Dockerfile_test_target": {"--target=second"},
|
"Dockerfile_test_target": {"--target=second"},
|
||||||
"Dockerfile_test_snapshotter_ignorelist": {"--use-new-run=true", "-v=trace"},
|
"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": {"--cache-copy-layers=true"},
|
||||||
"Dockerfile_test_cache_copy_oci": {"--cache-copy-layers=true"},
|
"Dockerfile_test_cache_copy_oci": {"--cache-copy-layers=true"},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue