Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce Docker image size #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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