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

Get centos:7 images updated #1010

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

mthalman
Copy link
Member

Fixes #988

  • Updates the CentOS 7 Dockerfiles to explicitly upgrade existing packages
  • Sets the CentOS 7 pipeline to run on a weekly schedule. I've already configured the pipeline in AzDO to run with caching disabled by default. So that will ensure that all images are rebuilt on a weekly basis.
  • Deleted the unused rpmpkg Dockerfile.

@mthalman mthalman enabled auto-merge (squash) April 19, 2024 13:56
Comment on lines +5 to +9
RUN \
# Since the base image isn't actively maintained, force an upgrade of existing packages
yum update -y \
&& \
yum install -y \
Copy link
Contributor

Choose a reason for hiding this comment

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

This will make the dependency layer really large since the image hasn't been updated in a long time. What is the layer size difference caused by this change, and if it's big (relative to the size of the entire image), will you consider squashing this into a single layer with the base image e.g. https://stackoverflow.com/a/77052183/13771378

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not that large: 50 MB.

@mthalman mthalman merged commit d37b4d6 into dotnet:main Apr 19, 2024
91 checks passed
@mthalman mthalman deleted the dev/mthalman/988 branch April 19, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate updating images that have infrequent base image updates
3 participants