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

yum install command in Dockerfile can be split up #56

Open
gregcorbett opened this issue Feb 21, 2018 · 2 comments
Open

yum install command in Dockerfile can be split up #56

gregcorbett opened this issue Feb 21, 2018 · 2 comments

Comments

@gregcorbett
Copy link
Member

Previous versions of the base CentOS images (from which our images are based) had issues around the overlayfs backend used when building new images. The workaround at the time was to only run yum once.

According to Overlayfs and yum the more recent base CentOS images have the required yum-plugin-ovl installed and enabled, fixing the problems that led to the workaround being applied originally.

As a result, the large yum command in the Dockerfile could be broken down into smaller yum commands for clarity sake. It may also speed up docker pull commands by having more, smaller, layers in the image.

@tofu-rocketry
Copy link
Member

Was this an ordering problem originally?

@gregcorbett
Copy link
Member Author

I don't think so, it was a yum checksum issue with any two successive yum installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants