Delete the apt-get
lists after installing anything
DOK-DL3009
Performance
Major
1
Pin versions in apt get install
DOK-DL3008
Bug risk
Major
3
Set the SHELL
option -o pipefail
before using RUN
with a pipe character
DOK-DL4006
Bug risk
Major
1
Use arguments JSON notation for CMD and ENTRYPOINT arguments
DOK-DL3025
Bug risk
Major
1
Do not use apt
, use apt-get
or apt-cache
instead
DOK-DL3027
Anti-pattern
Major
2
Avoid additional packages by specifying --no-install-recommends
DOK-DL3015
Anti-pattern
Major
3
Consider using quotes to prevent word splitting
DOK-SC2046
Bug risk
Major
1
COPY to a relative destination without WORKDIR set
DOK-W1006
Bug risk
Major
1
Always tag the version of an image explicitly
DOK-DL3006
Bug risk
Minor
5
Found consecutive RUN
commands
DOK-W1001
Anti-pattern
Minor
1