File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11FROM quay.io/pypa/manylinux2014_x86_64
22
3- ENV OPENSSL openssl-3.1.1
3+ ENV OPENSSL openssl-3.1.6
44ENV LIBSSH 0.10.5
55ENV SYSTEM_LIBSSH 1
6- ENV CFLAGS "-g0 -s"
6+ ENV CFLAGS "-g0 -s -flto -fpic -fno-semantic-interposition "
77
88RUN 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
1313RUN tar -xzf ${OPENSSL}.tar.gz
1414# Openssl
1515RUN 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
You can’t perform that action at this time.
0 commit comments