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 yum caches #68

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Clean up yum caches #68

merged 1 commit into from
Jun 22, 2022

Conversation

JulianHn
Copy link
Contributor

As discussed in #67, it is possible to reduce the size of the docker image by up to 30% by cleaning the yum-caches in the same commands where yum installations are performed.
This PR modifies the Dockerfile to include a yum -y clean-cache and rm -rf /var/cache, to do this clean up.

At the current point in time this decreases the size of the resulting image from 1.29GB to 918 MB.

// Julian

@joshmoore joshmoore merged commit 1271c72 into ome:master Jun 22, 2022
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