wget-progress
What it does
Section titled “What it does”Reports a wget call that does not limit its progress output. It has none of --progress, -q or --quiet, -nv or --no-verbose, -o or --output-file, -a or --append-output.
Why it matters
Section titled “Why it matters”By default wget draws a progress bar. A build is not a terminal, so each update is logged as a line of its own, and a large download adds thousands of lines to the build log. The log gets hard to read and CI logs reach their size limits.
--progress=dot:giga, -nv or -q keep the output short.
Example
Section titled “Example”...RUN wget https://example.com/fRUN wget -q https://example.com/f...RUN echo sudo cd ps... sudo make installRUN v=$(sudo make) && echo "$(wget https://example.com/f)"...Configuration
Section titled “Configuration”dockerfile: lint: rules: wget-progress: warn # off (default), warn, errorEnabled by the presets: dockerfile/hadolint.
Suppress one line with sudsy-disable-next-line wget-progress in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| hadolint | DL3047 |
full |