Skip to content

Commit

Permalink
change manylinux
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Jul 7, 2024
1 parent fd27756 commit a1f6386
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM quay.io/pypa/manylinux2014_x86_64
FROM quay.io/pypa/manylinux_2_28_x86_64

ENV PATH /root/.cargo/bin:$PATH
# Add all supported python versions
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
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
# Otherwise `cargo new` errors
ENV USER root

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

RUN yum install centos-release-scl -y \
&& sed -i \
-e 's/^mirrorlist/#mirrorlist/' \
-e 's/^#baseurl/baseurl/' \
-e 's/mirror\.centos\.org/vault.centos.org/' \
/etc/yum.repos.d/CentOS-SCLo-scl-rh.repo \
&& yum-config-manager --enable rhel-server-rhscl-7-rpms \
&& yum install llvm-toolset-7.0 -y \
RUN yum install llvm-toolset -y \
&& yum install openssl-devel -y
WORKDIR /io

Expand Down

0 comments on commit a1f6386

Please sign in to comment.