mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
ci: update centos stream 8 baseurl
Since CentOS Stream 8 is EOL, this commit updates the
config to use vault.centos.org for CentOS Stream 8.
This should be removed once the base image (ceph) is
updated to a version with a newer CentOS.
Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 5809628523
)
This commit is contained in:
parent
6753bbfba3
commit
41fe80d303
@ -4,6 +4,11 @@ ARG BASE_IMAGE
|
||||
|
||||
FROM ${BASE_IMAGE} as updated_base
|
||||
|
||||
# Since CentOS Stream 8 is EOL, update the config to use vault.centos.org for CentOS Stream 8
|
||||
# TODO: remove once https://github.com/ceph/ceph-csi/issues/4659 is fixed.
|
||||
RUN sed -i 's|^mirrorlist=|#mirrorlist=|g' /etc/yum.repos.d/*.repo && \
|
||||
sed -i 's|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/*.repo
|
||||
|
||||
# TODO: remove the following cmd, when issues
|
||||
# https://github.com/ceph/ceph-container/issues/2034
|
||||
# https://github.com/ceph/ceph-container/issues/2141 are fixed.
|
||||
|
@ -1,6 +1,11 @@
|
||||
ARG BASE_IMAGE
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
# Since CentOS Stream 8 is EOL, update the config to use vault.centos.org for CentOS Stream 8
|
||||
# TODO: remove once https://github.com/ceph/ceph-csi/issues/4659 is fixed.
|
||||
RUN sed -i 's|^mirrorlist=|#mirrorlist=|g' /etc/yum.repos.d/*.repo && \
|
||||
sed -i 's|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/*.repo
|
||||
|
||||
ARG GOROOT=/usr/local/go
|
||||
ARG GOARCH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user