matlab-dockerfile icon indicating copy to clipboard operation
matlab-dockerfile copied to clipboard

fix hadolint DL3009 warning for cleaning up the apt-get lists after installation

Open krasingneves opened this issue 3 years ago • 1 comments

Standard procedure for creating Docker containers where I work includes running the Dockerfiles through hadolint. With the current reference Dockerfile, hadolint gives the reference architecture an error for violating DL3009, which is a recommendation aimed at reducing the container size.

As we know, the Matlab container can be quite large, so any size reduction is generally favorable.

krasingneves avatar Jun 10 '22 20:06 krasingneves

@josmartin - forgot to mention this but figured it was simple enough, you might take the pull request :)

krasingneves avatar Jun 10 '22 21:06 krasingneves