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

Clean up apt-get lists in Dockerfile after installation #28

Merged
merged 3 commits into from
Jul 12, 2023

Conversation

PeterDaveHello
Copy link
Contributor

Every steps in this PR makes the Docker image smaller! Would also make the image build process a little bit faster!

From original 1.17GB -> 1.06GB:

$ docker images
REPOSITORY          TAG                  IMAGE ID       CREATED          SIZE
version4            latest               4dc71e1dd567   7 minutes ago    1.06GB
version3            latest               29f0698ad5b7   12 minutes ago   1.1GB
version2            latest               f9f6e665dfa8   27 minutes ago   1.13GB
version1            latest               23443eda8719   34 minutes ago   1.17GB

@iamgreggarcia iamgreggarcia self-requested a review July 12, 2023 00:35
Copy link
Owner

@iamgreggarcia iamgreggarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the contribution @PeterDaveHello !

@iamgreggarcia iamgreggarcia merged commit f940db0 into iamgreggarcia:main Jul 12, 2023
@PeterDaveHello PeterDaveHello deleted the OptimizeDockerfile branch July 12, 2023 06:49
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