Skip to content

Commit a0ab3a2

Browse files
added openssl ppc64le sc
1 parent b2b2c8f commit a0ab3a2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.ci/docker/manywheel/Dockerfile_ppc64le

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,15 @@ RUN apt-get install -y gcc-10 g++-10
5959
RUN git --version || (echo "Git installation failed!" && exit 1)
6060
RUN git config --global --add safe.directory "*"
6161

62-
RUN apt-get install -y openssl
62+
# OpenSSL setup to ensure Python has SSL support
63+
FROM base as openssl
64+
# Set ulimit to avoid segmentation faults due to resource limits
65+
RUN ulimit -s unlimited
66+
67+
ADD ./common/install_openssl-ppc64le.sh install_openssl.sh
68+
RUN export CFLAGS="-O0" && \
69+
bash ./install_openssl.sh && rm install_openssl.sh
70+
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
6371

6472
# EPEL for cmake
6573
FROM base as patchelf

0 commit comments

Comments
 (0)