-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v14] buildbox: Update centos7 buildbox for EOL, using vault (#43902)
* [v14] buildbox: Update centos7 buildbox for EOL, using vault CentOS 7 became EOL on 2024/06/30. `mirrorlist` and `mirror.centos.org` became unavailable, so use `baseurl` and `vault.centos.org` instead, updating all references in `/etc/yum.repos.d/*`. The software collection stuff (`centos-release-scl-rh`) is on a different path on `vault.centos.org` for `aarch64` so also update those paths. Apply these changes multiple times as installing `centos-release-scl-rh` installs a yum repo file with the old paths, as does installing `centos-release-scl`. This backport is a little more involved than the original master PR as `branch/v14` has old Dockerfiles here - there is no single base stage to modify - a new `base` stage was added with the common stuff and the other stages build from that instead of `centos:7`. Also added is a `syntax` line to the two touched dockerfiles. This is needed for here-documents to work (`<<EOF`) as the version of docker on our GitHub runners is too old to understand that. The `syntax` line says to use a different dockerfile parser to the built-in one. * [v14] buildbox: Remove package installation duplication The previous commit added a new stage to the centos7 Dockerfiles, but left package installation duplication in place. This commit removes the packages installed in the base image from the subsequent images. This has been done as a separate commit so that it can be reverted if necessary. The first commit is the minimum needed, but leaves things a little messy. This cleans up the mess but in case it breaks something, this commit can be reverted. * buildbox: Fix typos: s/valut/vault/
- Loading branch information
Showing
2 changed files
with
77 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters