mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
review-dockerfile: Add workaround for a new location of CentOS repos
This commit is contained in:
parent
dbeee0640a
commit
7e45425075
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
|
|
||||||
FROM centos:8
|
FROM centos:8
|
||||||
|
|
||||||
|
# Workaround to the location of the repos
|
||||||
|
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-*
|
||||||
|
|
||||||
RUN dnf update -y
|
RUN dnf update -y
|
||||||
RUN yum install epel-release -y
|
RUN yum install epel-release -y
|
||||||
RUN dnf install python38 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime sudo man -y
|
RUN dnf install python38 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime sudo man -y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue