Skip to content

Commit 732f135

Browse files
committed
manylinux2014: openssl 3.1.6, statically linked, minimal build
1 parent 3f549f5 commit 732f135

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ci/docker/manylinux/Dockerfile.2014_x86_64

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM quay.io/pypa/manylinux2014_x86_64
22

3-
ENV OPENSSL openssl-3.1.1
3+
ENV OPENSSL openssl-3.1.6
44
ENV LIBSSH 0.10.5
55
ENV SYSTEM_LIBSSH 1
6-
ENV CFLAGS "-g0 -s"
6+
ENV CFLAGS "-g0 -s -flto -fpic -fno-semantic-interposition"
77

88
RUN yum install -y zlib-devel cmake3 perl-core
99

@@ -13,7 +13,10 @@ ADD https://www.openssl.org/source/${OPENSSL}.tar.gz ${OPENSSL}.tar.gz
1313
RUN tar -xzf ${OPENSSL}.tar.gz
1414
# Openssl
1515
RUN cd ${OPENSSL} && \
16-
./config --prefix=/usr --openssldir=/usr/openssl threads shared && \
16+
./config --prefix=/usr --openssldir=/usr/openssl threads no-shared no-stdio \
17+
no-autoerrinit no-autoload-config no-autoalginit no-cmp no-cms no-comp no-ct no-dgram no-dso no-filenames no-gost no-ocsp \
18+
no-psk no-rfc3779 no-sock no-srp no-srtp no-ts \
19+
no-aria no-bf no-blake2 no-camellia no-cast no-cmac no-idea no-md4 no-mdc2 no-ocb no-rc2 no-rc4 no-rmd160 no-siphash no-siv no-sm2 no-sm3 no-sm4 no-whirlpool && \
1720
make -j6 && make install_sw
1821

1922
# Libssh

0 commit comments

Comments
 (0)