Set config dir for OpenSSL and disable OpenSSL DSO

System-provided engines may crash bundled OpenSSL
This commit is contained in:
Ilya Fedin 2021-01-13 06:23:49 +04:00 committed by John Preston
parent 1008774aef
commit b115ea74d0
1 changed files with 6 additions and 1 deletions

View File

@ -424,7 +424,12 @@ RUN git clone -b OpenSSL_${OPENSSL_VER}-stable --depth=1 \
$GIT/openssl/openssl.git $opensslDir
WORKDIR ${opensslDir}
RUN ./config --prefix="$OPENSSL_PREFIX" no-tests
RUN ./config \
--prefix="$OPENSSL_PREFIX" \
--openssldir=/etc/ssl \
no-tests \
no-dso
RUN make -j$(nproc)
RUN make DESTDIR="$LibrariesPath/openssl-cache" install_sw