4.9 Use COPY instead of ADD in Dockerfile

Information

https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-
practices/#/add-or-copy

Solution

Use COPY instructions in Dockerfiles.Impact-You would need to take care of the functionalities provided by ADD instructions such as
fetching files from remote URLs.Default Value-Not Applicable

See Also

https://workbench.cisecurity.org/files/517

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 7d9364efc394c33f0421a191e974ba1ad2c47564af44f91082697c2e19ccb05d