File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
1717RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
1818RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
1919
20- RUN yum install devtoolset-7 -y --nogpgcheck
21- RUN echo "source /opt/rh/devtoolset-7 /enable" >> /root/.bashrc && source /root/.bashrc
20+ RUN yum install devtoolset-7 devtoolset-10 -y --nogpgcheck
21+ RUN echo "source /opt/rh/devtoolset-10 /enable" >> /root/.bashrc && source /root/.bashrc
2222ARG PY_VER=3.8
2323
2424RUN curl -LO https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-linux-x86_64.sh \
@@ -96,7 +96,7 @@ RUN curl -LO https://github.com/NixOS/patchelf/archive/refs/tags/0.14.5.tar.gz &
9696 cd patchelf-0.14.5 && \
9797 ./bootstrap.sh && \
9898 ./configure && \
99- source /opt/rh/devtoolset-7 /enable && make install && \
99+ source /opt/rh/devtoolset-10 /enable && make install && \
100100 cd .. && rm -rf patchelf-0.14.5 0.14.5.tar.gz
101101RUN pip3 install auditwheel==6.1.0
102102
You can’t perform that action at this time.
0 commit comments