mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00
Utilities/Release: Update to openssl 1.1.1f
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
# Build using the CMake source directory as the build context.
|
||||
# The resulting image will have an '/out' directory containing the package.
|
||||
|
||||
ARG FROM_IMAGE_NAME=kitware/cmake:build-linux-x86_64-deps-2019-08-09
|
||||
ARG FROM_IMAGE_DIGEST=@sha256:630c320b26a67fc584e0bc98314f1fb0cb0abc764348bb2613ef07437f7101f9
|
||||
ARG FROM_IMAGE_NAME=kitware/cmake:build-linux-x86_64-deps-2020-04-02
|
||||
ARG FROM_IMAGE_DIGEST=@sha256:77e9ab183f34680990db9da5945473e288f0d6556bce79ecc1589670d656e157
|
||||
ARG FROM_IMAGE=$FROM_IMAGE_NAME$FROM_IMAGE_DIGEST
|
||||
FROM $FROM_IMAGE
|
||||
|
||||
|
@@ -129,10 +129,10 @@ COPY openssl-source.patch /opt/openssl/src/
|
||||
RUN : \
|
||||
&& mkdir -p /opt/openssl/src \
|
||||
&& cd /opt/openssl/src \
|
||||
&& curl -O https://www.openssl.org/source/openssl-1.1.1c.tar.gz \
|
||||
&& sha512sum openssl-1.1.1c.tar.gz | grep -q 8e2c5cc11c120efbb7d7850980cb6eaa782d29b4996b3f3378d37613c1679f852d7cc08a90d62e78fcec3439f06bdbee70064579a8c2adaffd91532a97f646ff \
|
||||
&& tar xzf openssl-1.1.1c.tar.gz \
|
||||
&& cd openssl-1.1.1c \
|
||||
&& curl -O https://www.openssl.org/source/openssl-1.1.1f.tar.gz \
|
||||
&& sha512sum openssl-1.1.1f.tar.gz | grep -q b00bd9b5ad5298fbceeec6bb19c1ab0c106ca5cfb31178497c58bf7e0e0cf30fcc19c20f84e23af31cc126bf2447d3e4f8461db97bafa7bd78f69561932f000c \
|
||||
&& tar xzf openssl-1.1.1f.tar.gz \
|
||||
&& cd openssl-1.1.1f \
|
||||
&& patch -p1 -i ../openssl-source.patch \
|
||||
&& source /opt/rh/devtoolset-6/enable \
|
||||
&& ./Configure --prefix=/opt/openssl linux-elf no-asm no-shared -D_POSIX_C_SOURCE=199506L -D_POSIX_SOURCE=1 -D_SVID_SOURCE=1 -D_BSD_SOURCE=1 \
|
||||
|
Reference in New Issue
Block a user