You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: package/centos/Dockerfile
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,15 @@ FROM centos
2
2
MAINTAINER Hyper Developers <dev@hyper.sh>
3
3
4
4
# RPM Build Environment
5
-
RUN yum install -y @development-tools centos-packager rpmdevtools
5
+
RUN yum install -y @development-tools centos-packager rpmdevtools || echo "WARNING: work around the yum failure"
6
6
RUN /usr/sbin/useradd makerpm; usermod -a -G mock makerpm; su makerpm -c 'rpmdev-setuptree'
7
7
8
8
# Hyper dependency
9
-
RUN yum install -y automake autoconf gcc make glibc-devel glibc-devel.i686 device-mapper-devel pcre-devel libsepol-devel libselinux-devel systemd-devel sqlite-devel libvirt-devel
9
+
RUN yum install -y automake autoconf gcc make glibc-devel glibc-devel.i686 device-mapper-devel pcre-devel libsepol-devel libselinux-devel systemd-devel sqlite-devel libvirt-devel|| echo "WARNING: work around the yum failure"
10
10
RUN curl -sL https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz | tar -C /usr/local -zxf -
11
11
12
-
# CBFSTool
13
-
RUN cd /dev/shm; curl -sSL https://www.coreboot.org/releases/coreboot-4.2.tar.xz | tar --xz -xvf - ; cd coreboot-4.2/util/cbfstool ; make; cp cbfstool /usr/local/bin/
14
-
15
12
# Qemu Denpendency
16
-
RUN yum install -y gcc-c++ zlib-devel libcap-devel libattr-devel librbd1-devel libtool
13
+
RUN yum install -y gcc-c++ zlib-devel libcap-devel libattr-devel librbd1-devel libtool || echo "WARNING: work around the yum failure"
0 commit comments