Skip to content

Conversation

meisenzahl
Copy link
Member

Some cleanup following the best practices:

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run

In addition, when you clean up the apt cache by removing /var/lib/apt/lists it reduces the image size, since the apt cache is not stored in a layer.

@kgrubb kgrubb merged commit ca64ab6 into elementary:master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants