File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,20 @@ ADD ./common/install_patchelf.sh install_patchelf.sh
9090RUN bash ./install_patchelf.sh && rm install_patchelf.sh
9191RUN 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
You can’t perform that action at this time.
0 commit comments