Skip to content

Conversation

@imesh
Copy link
Contributor

@imesh imesh commented Mar 24, 2019

Each RUN command in Dockerfile creates a new layer in the filesystem. As a result, the image size increases. This pull request reduces Docker image size from around 1.07GB to 618MB by combining all RUN commands together.

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
https://forums.docker.com/t/how-to-reduce-docker-image-sizes/37274

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.

1 participant