Docker

Docker

Made by DeepSource

Use wget --progress to avoid excessively bloated build logs DOK-W1000

Anti-pattern
Minor

wget without the --progress flag will result in excessively bloated build logs when downloading larger files. That's because it outputs a line for each fraction of a percentage point while downloading a big file.

Bad Practice

FROM ubuntu:20
RUN wget https://example.com/big_file.tar

Recommended

FROM ubuntu:20
RUN wget --progress=dot:giga https://example.com/big_file.tar