Skip to content

Commit 880c313

Browse files
using normal runner minimal dockerfile2
1 parent 3d43232 commit 880c313

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.ci/docker/manywheel/Dockerfile_ppc64le

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,20 @@ RUN git config --global --add safe.directory "*"
7979
RUN /bin/rm -rf /opt/_internal /opt/python /usr/local/*/*
8080

8181
# EPEL for cmake
82-
# FROM base as patchelf
83-
84-
# # Instead of ADD ./common/install_cpython.sh ...
85-
# RUN git clone --depth 1 --branch temp-gha-runner-v2 https://github.com/sandeepgupta12/pytorch.git /tmp/pytorch && \
86-
# cp /tmp/pytorch/.ci/docker/common/install_patchelf.sh /build_scripts/install_patchelf.sh
87-
# # Install patchelf
88-
# # ADD ./common/install_patchelf.sh install_patchelf.sh
89-
# #RUN bash ./install_patchelf.sh && rm install_patchelf.sh
90-
# #ENV CPYTHON_VERSIONS="3.10.1"
91-
# #RUN echo "CPYTHON_VERSIONS=$CPYTHON_VERSIONS" && bash -x /build_scripts/install_cpython.sh
92-
# #ENV SSL_CERT_FILE=""
93-
# #RUN curl -fL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
94-
# RUN bash /build_scripts/install_patchelf.sh && rm -r /build_scripts
95-
# RUN cp $(which patchelf) /patchelf
82+
FROM base as patchelf
83+
84+
# Instead of ADD ./common/install_cpython.sh ...
85+
RUN git clone --depth 1 --branch temp-gha-runner-v2 https://github.com/sandeepgupta12/pytorch.git /tmp/pytorch && \
86+
cp /tmp/pytorch/.ci/docker/common/install_patchelf.sh /build_scripts/install_patchelf.sh
87+
# Install patchelf
88+
# ADD ./common/install_patchelf.sh install_patchelf.sh
89+
#RUN bash ./install_patchelf.sh && rm install_patchelf.sh
90+
#ENV CPYTHON_VERSIONS="3.10.1"
91+
#RUN echo "CPYTHON_VERSIONS=$CPYTHON_VERSIONS" && bash -x /build_scripts/install_cpython.sh
92+
#ENV SSL_CERT_FILE=""
93+
#RUN curl -fL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
94+
RUN bash /build_scripts/install_patchelf.sh && rm -r /build_scripts
95+
RUN cp $(which patchelf) /patchelf
9696

9797
# FROM patchelf as python
9898

0 commit comments

Comments
 (0)