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

Run apt autoremove -y in Dockerfile to clean up all the unneeded package #110

Open
winstonma opened this issue Jul 28, 2023 · 0 comments
Open

Comments

@winstonma
Copy link

After pulling the docker image I ran the apt autoremove -y command and it can pull out 1GB of space. Would wonder if the image size would be smaller if autoremove is added in the Dockerfile.

@winstonma winstonma changed the title Run apt autoremove -y at the end to clean up all the unneeded package Run apt autoremove -y in Dockerfile to clean up all the unneeded package Jul 28, 2023
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

No branches or pull requests

1 participant