Skip to content

Commit

Permalink
centos-dep: change baseUrl to the vault.centos.org
Browse files Browse the repository at this point in the history
centos went eol on dec 31st and their contents got moved to
vault.centos.org on jan 31st.

Signed-off-by: Nizamudeen A <[email protected]>
  • Loading branch information
nizamial09 committed Feb 1, 2022
1 parent e795a23 commit 17388f0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/ceph/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ ARG CENTOS_VERSION=8
FROM rhcsdashboard/ceph-base:centos${CENTOS_VERSION}
ARG CENTOS_VERSION

# Centos met EOL and the content of the CentOS 8 repos has been moved to vault.centos.org
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*

# Required in order for build-doc to run successfully:
RUN pip3 install -U Cython==0.29.3

Expand Down
4 changes: 4 additions & 0 deletions docker/ceph/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ ARG CENTOS_VERSION=8
FROM centos:$CENTOS_VERSION as ceph-base
ARG CENTOS_VERSION

# Centos met EOL and the content of the CentOS 8 repos has been moved to vault.centos.org
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*

RUN dnf install -y epel-release \
&& dnf clean packages
RUN dnf install -y bind-utils curl dnf dnf-plugins-core git golang-github-prometheus hostname \
Expand Down
4 changes: 4 additions & 0 deletions docker/ceph/e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
ARG CENTOS_VERSION=8
FROM centos:$CENTOS_VERSION

# Centos met EOL and the content of the CentOS 8 repos has been moved to vault.centos.org
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*

RUN dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm \
libXScrnSaver xorg-x11-server-Xvfb \
&& dnf clean all
Expand Down
4 changes: 4 additions & 0 deletions docker/ceph/rpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ ARG CENTOS_VERSION=8
FROM rhcsdashboard/ceph-base:centos${CENTOS_VERSION}
ARG CENTOS_VERSION

# Centos met EOL and the content of the CentOS 8 repos has been moved to vault.centos.org
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*

# Sepia provide missing dependencies until epel provide all dependencies.
RUN dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/${CENTOS_VERSION}/
RUN dnf config-manager --setopt gpgcheck=0 apt-mirror.front.sepia.ceph.com_lab-extras_${CENTOS_VERSION}_ --save
Expand Down

0 comments on commit 17388f0

Please sign in to comment.