You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADD some.tar.gz /data would extract the tarball to destination, but COPY only copy the file, no extraction.
Extracting source code for compile or extract binary files into container would be common usage for docker building from my experience. I hope this primitive can be added into hpccm.
(This might be a docker specific problem.)
The text was updated successfully, but these errors were encountered:
Docker advises using COPY instead of ADD in nearly all cases.
If you must use ADD, consider the raw primitive (although if you ever intent to generate Singularity definition files from the same recipe, you need to include a Singularity equivalent).
ADD some.tar.gz /data
would extract the tarball to destination, butCOPY
only copy the file, no extraction.Extracting source code for compile or extract binary files into container would be common usage for docker building from my experience. I hope this primitive can be added into hpccm.
(This might be a docker specific problem.)
The text was updated successfully, but these errors were encountered: