sub-mod/bazel-builds

build fail

Opened this issue · 1 comments

leeqx commented

command: docker build -t submod/bazel-build -f Dockerfile .

output:

Step 1/11 : FROM quay.io/sub_mod/manylinux2010-s2i
 ---> 486c120d70d4
Step 2/11 : LABEL Author "Subin Modeel <smodeel@redhat.com>"
 ---> Using cache
 ---> 74390d6e75ab
Step 3/11 : USER root
 ---> Using cache
 ---> 8a4c75c32233
Step 4/11 : ENV JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0*"     PLATFORM="el6"
 ---> Using cache
 ---> 27995ea459be
Step 5/11 : RUN yum install -y centos-release-scl unzip tree mlocate vim wget ccache sudo     && yum install -y devtoolset-7 rh-python36     && yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel
 ---> Running in 7e3457aa94cd
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Determining fastest mirrors
Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/

I update yum by

yum clean all
yum makecache

and it works.