Skip to content

Files

Latest commit

 

History

History
27 lines (18 loc) · 464 Bytes

DL4001.md

File metadata and controls

27 lines (18 loc) · 464 Bytes

Pattern: Use of wget and curl

Issue: -

Description

Don't install two tools that have the same effect and avoid the additional cruft.

Example of incorrect code:

FROM debian
RUN wget http://google.com
RUN curl http://bing.com

Example of correct code:

FROM debian
RUN curl http://google.com
RUN curl http://bing.com

Further Reading