Smaller container
One other thing is how to reduce the size of the container.
- Use a single line for the apt update, upgrade install and then
&&
a cleanup afterwards. See here: https://git.cs.sun.ac.za/Computer-Science/docker-prebuild/sun-latex-base/-/blob/master/18.04-Dockerfile - You can use the SUN Ubuntu base for the base build, as it sets our internal mirrors for installations
- (Suggestion) You COULD also do this in alpine, that would result in a small image. BUT, that doesn't come with bash and things by default. See here: https://git.cs.sun.ac.za/Computer-Science/docker-prebuild/alpine-tools