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

move RUN rm docker-clean command to diet image size #153

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

takasehideki
Copy link
Contributor

This commit can reduce the size of docker images (7.28 GB to 6.33 GB for humble) while keeping apt-get completion feature by moving RUN rm /etc/apt/apt.conf.d/docker-clean to the later stage of Dockerfile.

We can close #152 when this commit will be merged as PR.

relate:
#152 (comment) https://askubuntu.com/questions/86375/apt-get-autocompletion-of-package-name-is-broken

This commit can reduce the size of docker images (7.28 GB to 6.33 GB
for humble) while keeping apt-get completion feature by moving
`RUN rm /etc/apt/apt.conf.d/docker-clean` to the later stage of Dockerfile.

We can close Tiryoh#152 when this commit will be merged as PR.

relate:
Tiryoh#152 (comment)
https://askubuntu.com/questions/86375/apt-get-autocompletion-of-package-name-is-broken
@Tiryoh
Copy link
Owner

Tiryoh commented Apr 22, 2024

Hi @takasehideki, sorry for my late responding. Thanks for your contribution!

@Tiryoh Tiryoh merged commit 69b3f75 into Tiryoh:master Apr 22, 2024
9 checks passed
@takasehideki takasehideki deleted the move_docker-clean branch April 22, 2024 14:01
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.

Why rm /etc/apt/apt.conf.d/docker-clean is needed?
2 participants