mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Merge branch 'use-vault-for-centos8' into 'master'
Use vault.centos.org because centos8 reached EoL See merge request gitlab-org/gitlab-build-images!502
This commit is contained in:
commit
725f400189
1 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,10 @@
|
|||
FROM centos:centos8
|
||||
|
||||
# https://techglimpse.com/failed-metadata-repo-appstream-centos-8/
|
||||
RUN cd /etc/yum.repos.d/ \
|
||||
&& sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
|
||||
&& sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
|
||||
|
||||
RUN yum update -y -q \
|
||||
&& yum groupinstall -y "Development Tools" \
|
||||
&& yum install -y \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue