Optimise Dockerfile
AtomicFS opened this issue · comments
The Dockerfile can be optimised:
- prevent
apt-get install
from installing recommended packages by adding--no-install-recommends
- delete the apt-get lists to reduce container size
- also consider reducing the Dockerfile to single
RUN
command to reduce number of snapshots
- also consider reducing the Dockerfile to single
- use quotes to prevent word splitting
- use
WORKDIR
to switch to a directory - possible misspelling:
NONOSIVERSION
vsNONOSIVERION
Reported by MegaLinter [DOCKERFILE][hadolint].
Blocked by issues in milestone 1