Skip to content

Commit

Permalink
[docker] Update yum repos for CentOS8 Stream EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Jun 5, 2024
1 parent fb2b7e0 commit 09404b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM quay.io/centos/centos:stream8

# Update repos to use the vault mirror, now that CentOS 8 Stream is EOL
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

# >> ignore SC2086 because passing quoted env vars to dnf causes issues (fail to install)
# hadolint ignore=SC2086
RUN INSTALL_PKGS="\
Expand Down

0 comments on commit 09404b7

Please sign in to comment.