Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fail #2

Open
leeqx opened this issue Mar 25, 2021 · 1 comment
Open

build fail #2

leeqx opened this issue Mar 25, 2021 · 1 comment

Comments

@leeqx
Copy link

leeqx commented Mar 25, 2021

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 <[email protected]>"
 ---> 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/
@ZizhenWang
Copy link

I update yum by

yum clean all
yum makecache

and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants