Skip to content

Commit a1f6386

Browse files
committed
change manylinux
1 parent fd27756 commit a1f6386

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM quay.io/pypa/manylinux2014_x86_64
1+
FROM quay.io/pypa/manylinux_2_28_x86_64
22

33
ENV PATH /root/.cargo/bin:$PATH
44
# Add all supported python versions
5-
ENV PATH /opt/python/cp312-cp312/bin/:/opt/python/cp311-cp311/bin/:/opt/python/cp310-cp310/bin/:/opt/python/cp309-cp309/bin/:/opt/python/cp308-cp308/bin/:/opt/python/cp307-cp307/bin/:$PATH
5+
ENV PATH /opt/python/cp312-cp312/bin/:/opt/python/cp311-cp311/bin/:/opt/python/cp310-cp310/bin/:/opt/python/cp309-cp309/bin/:/opt/python/cp308-cp308/bin/:$PATH
66
# Otherwise `cargo new` errors
77
ENV USER root
88

@@ -11,14 +11,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y \
1111
&& ln -s $(which maturin) /usr/bin/maturin \
1212
&& mkdir /io
1313

14-
RUN yum install centos-release-scl -y \
15-
&& sed -i \
16-
-e 's/^mirrorlist/#mirrorlist/' \
17-
-e 's/^#baseurl/baseurl/' \
18-
-e 's/mirror\.centos\.org/vault.centos.org/' \
19-
/etc/yum.repos.d/CentOS-SCLo-scl-rh.repo \
20-
&& yum-config-manager --enable rhel-server-rhscl-7-rpms \
21-
&& yum install llvm-toolset-7.0 -y \
14+
RUN yum install llvm-toolset -y \
2215
&& yum install openssl-devel -y
2316
WORKDIR /io
2417

0 commit comments

Comments
 (0)