Skip to content

Commit ff1a3b4

Browse files
using build.sh to build image
1 parent 9acdf42 commit ff1a3b4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.ci/docker/manywheel/Dockerfile_ppc64le

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,20 @@ ADD ./common/install_patchelf.sh install_patchelf.sh
9090
RUN bash ./install_patchelf.sh && rm install_patchelf.sh
9191
RUN cp $(which patchelf) /patchelf
9292

93+
FROM patchelf as python
94+
# build python
95+
COPY manywheel/build_scripts /build_scripts
96+
ADD ./common/install_cpython.sh /build_scripts/install_cpython.sh
97+
ENV SSL_CERT_FILE=
98+
RUN bash build_scripts/build.sh && rm -r build_scripts
99+
#RUN bash build_scripts/build.sh || (echo "Checksum verification failed!" && exit 1)
100+
101+
FROM base as final
102+
COPY --from=python /opt/python /opt/python
103+
COPY --from=python /opt/_internal /opt/_internal
104+
COPY --from=python /opt/python/cp39-cp39/bin/auditwheel /usr/local/bin/auditwheel
105+
COPY --from=patchelf /usr/local/bin/patchelf /usr/local/bin/patchelf
106+
93107
# Install required Python packages
94108
#RUN pip install --upgrade pip
95109
#RUN pip install typing_extensions pyyaml setuptools

0 commit comments

Comments
 (0)