Motivation
When files are copied into the Dockerfile with the COPY command, the cache can get invalidated. We could improve this by using the --link option which creates more independent layers to avoid rebuilding when not needed
Specifications
Documentation: https://docs.docker.com/engine/reference/builder/#copy---link
Motivation
When files are copied into the Dockerfile with the
COPYcommand, the cache can get invalidated. We could improve this by using the--linkoption which creates more independent layers to avoid rebuilding when not neededSpecifications
Documentation: https://docs.docker.com/engine/reference/builder/#copy---link