| Property | Value |
|---|---|
| Severity | Warning |
| Category | Best Practice |
| Default | Enabled |
Description
Don’t install two tools that have the same effect. Using bothwget and curl in a Dockerfile adds unnecessary cruft to the image. Pick one and use
it consistently.
Either use Wget or Curl but not both.
| Property | Value |
|---|---|
| Severity | Warning |
| Category | Best Practice |
| Default | Enabled |
wget and curl in a Dockerfile adds unnecessary cruft to the image. Pick one and use
it consistently.
FROM debian
RUN wget http://google.com
RUN curl http://bing.com
FROM debian
RUN curl http://google.com
RUN curl http://bing.com
Was this page helpful?