When asked to "dynamically" add a file in a Containerfile, does this mean that the filename can be passed with ARG during build time?
For example
ARG filename=defaultname.tar
ADD $filename /var/www/html
and then during build --build-arg filename="../../newfilename.tar"
Is this what the word "dynamically" means in this context? Is this practice recommended?
Thank you!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.