Skip to content

Commit

Permalink
Update base image to CentOS 9 stream
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Aug 15, 2024
1 parent 157b01f commit b13de7b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
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-*
FROM quay.io/centos/centos:stream9

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

0 comments on commit b13de7b

Please sign in to comment.