Skip to content

Commit 03c8cbd

Browse files
committed
Fix issues with ClefOS (CentOS on s390x)
1 parent 24dbe9a commit 03c8cbd

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

centos7_s390x/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
FROM s390x/clefos:7
22

3-
MAINTAINER Evolved Binary Ltd <tech@evolvedbinary.com>
3+
LABEL org.opencontainers.image.authors="Evolved Binary Ltd <tech@evolvedbinary.com>"
44

55
LABEL name="CentOS 7 (s390x) RocksJava Build Environment" \
66
vendor="Evolved Binary Ltd"
77

8-
RUN sed -i s%mirrorlist=http%#mirrorlist=http%g /etc/yum.repos.d/CentOS-Base.repo \
9-
&& sed -i s%mirrorlist=http%#mirrorlist=http%g /etc/yum.repos.d/CentOS-fasttrack.repo \
10-
&& sed -i s%#baseurl=http://mirror.centos.org/centos/\$releasever/%baseurl=https://vault.centos.org/7.9.2009/%g /etc/yum.repos.d/CentOS-Base.repo \
11-
&& sed -i s%#baseurl=http://mirror.centos.org/centos/\$releasever/%baseurl=https://vault.centos.org/7.9.2009/%g /etc/yum.repos.d/CentOS-fasttrack.repo \
12-
&& yum --setopt=tsflags=nodocs -y update \
13-
&& yum --setopt=tsflags=nodocs -y install epel-release \
8+
RUN yum --setopt=tsflags=nodocs -y update \
149
&& yum --setopt=tsflags=nodocs -y upgrade \
1510
&& yum --setopt=tsflags=nodocs -y install cmake3 \
1611
&& yum --setopt=tsflags=nodocs -y install gcc-c++ make perl which \

0 commit comments

Comments
 (0)