Answers for "dockerfile copy variable"

1

dockerfile copy variable

Docker does not currently support variables in the COPY command.
28 August 2021 - Docker version 20.10.8
Posted by: Guest on August-28-2021
2

docker ARG

$ docker build --build-arg some_variable_name=a_value
Posted by: Guest on October-05-2020
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