mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 14:37:52 +02:00
Add additional tests to ensure that ARG values with quotes are handled properly
13 lines
278 B
Plaintext
13 lines
278 B
Plaintext
ARG FILE_NAME=""
|
|
|
|
FROM busybox:latest AS builder
|
|
ARG FILE_NAME
|
|
|
|
RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt;
|
|
|
|
FROM busybox:latest
|
|
ARG FILE_NAME
|
|
|
|
RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt;
|
|
COPY --from=builder /$FILE_NAME.txt /
|