Open
Description
> => [2/6] COPY . /data/project/ 2.8s
> => [3/6] WORKDIR /data/project/ 0.0s
> => ERROR [4/6] RUN yum -y update && yum -y install gcc gcc-c++ wget make git libSM-1.2.2-2.el7.x86_64 libXrender libXext && yum -y install zlib-devel bzip2-devel open 0.4s
> ------
> > [4/6] RUN yum -y update && yum -y install gcc gcc-c++ wget make git libSM-1.2.2-2.el7.x86_64 libXrender libXext && yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel && yum -y install python3-devel centos-release-scl scl-utils-build && yum -y install devtoolset-7-gcc* && echo 'source /opt/rh/devtoolset-7/enable' >> ~/.bash_profile && source ~/.bash_profile && scl enable devtoolset-7 bash:
> 0.250 Failed to set locale, defaulting to C
> 0.267 Loaded plugins: fastestmirror
> 0.319
> 0.319
> 0.319 One of the configured repositories failed (Unknown),
> 0.319 and yum doesn't have enough cached data to continue. At this point the only
> 0.319 safe thing yum can do is fail. There are a few ways to work "fix" this:
> 0.319
> 0.319 1. Contact the upstream for the repository and get them to fix the problem.
> 0.319
> 0.319 2. Reconfigure the baseurl/etc. for the repository, to point to a working
> 0.319 upstream. This is most often useful if you are using a newer
> 0.319 distribution release than is supported by the repository (and the
> 0.319 packages for the previous distribution release still work).
> 0.319
> 0.319 3. Disable the repository, so yum won't use it by default. Yum will then
> 0.319 just ignore the repository until you permanently enable it again or use
> 0.319 --enablerepo for temporary usage:
> 0.319
> 0.319 yum-config-manager --disable <repoid>
> 0.319
> 0.319 4. Configure the failing repository to be skipped, if it is unavailable.
> 0.319 Note that yum will try to contact the repo. when it runs most commands,
> 0.319 so will have to try and fail each time (and thus. yum will be be much
> 0.319 slower). If it is a very temporary problem though, this is often a nice
> 0.319 compromise:
> 0.319
> 0.319 yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
> 0.319
> 0.319 Cannot find a valid baseurl for repo: base/7/x86_64
> 0.320 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
> 0.320 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Name or service not known"
> ------
> Dockerfile:10
> --------------------
> 9 |
> 10 | >>> RUN yum -y update \
> 11 | >>> && yum -y install gcc gcc-c++ wget make git libSM-1.2.2-2.el7.x86_64 libXrender libXext\
> 12 | >>> && yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel \
> 13 | >>> && yum -y install python3-devel centos-release-scl scl-utils-build \
> 14 | >>> && yum -y install devtoolset-7-gcc* \
> 15 | >>> && echo 'source /opt/rh/devtoolset-7/enable' >> ~/.bash_profile \
> 16 | >>> && source ~/.bash_profile \
> 17 | >>> && scl enable devtoolset-7 bash
> 18 |
> --------------------
> ERROR: failed to solve: process "/bin/sh -c yum -y update && yum -y install gcc gcc-c++ wget make git libSM-1.2.2-2.el7.x86_64 libXrender libXext && yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel && yum -y install python3-devel centos-release-scl scl-utils-build && yum -y install devtoolset-7-gcc* && echo 'source /opt/rh/devtoolset-7/enable' >> ~/.bash_profile && source ~/.bash_profile && scl enable devtoolset-7 bash" did not complete successfully: exit code: 1
> (.venv)
Metadata
Assignees
Labels
No labels
Activity