Answers for "dockerfile env variabes"

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

Browse Popular Code Answers by Language