Answers for "dockerfile VAR"

1

dockerfile env variabes

FROM busybox
ENV foo /bar
WORKDIR ${foo}   # WORKDIR /bar
ADD . $foo       # ADD . /bar
COPY \$foo /quux # COPY $foo /quux
Posted by: Guest on April-20-2020
0

dockerfile VAR

ENV abc=hello
ENV abc=bye def=$abc
ENV ghi=$abc
Posted by: Guest on March-23-2021

Browse Popular Code Answers by Language