Delete the apt-get
lists after installing anything
DOK-DL3009
Performance
Major
4
Pin versions in apt get install
DOK-DL3008
Bug risk
Major
6
Pin versions in pip
DOK-DL3013
Bug risk
Major
1
Use COPY
instead of ADD
for files and folders
DOK-DL3020
Performance
Major
2
Pin image versions explicitly to a release tag
DOK-DL3007
Bug risk
Major
2
Detected use of escape sequences with echo
DOK-SC2028
Bug risk
Major
2
Do not use apt
, use apt-get
or apt-cache
instead
DOK-DL3027
Anti-pattern
Major
2
Use any one of wget
or curl
but not both
DOK-DL4001
Anti-pattern
Minor
16
Use WORKDIR
to switch to a directory
DOK-DL3003
Anti-pattern
Minor
2
Avoid cache directory with pip install --no-cache-dir <package>
DOK-P1003
Performance
Minor
1