test/env/Dockerfile.centos in rake-compiler-dock-1.2.0 vs test/env/Dockerfile.centos in rake-compiler-dock-1.2.1
- old
+ new
@@ -1,8 +1,13 @@
ARG from_image
FROM ${from_image}
RUN uname -a
+
+# Change download address of Centos-8 which is EOL
+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 yum install -y ruby git
RUN ruby --version
RUN gem env
RUN gem inst bundler