File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ ARG TOOLCHAIN=stable
1010
1111# The OpenSSL version to use. We parameterize this because many Rust
1212# projects will fail to build with 1.1.
13- ARG OPENSSL_VERSION=1.0.2r
13+ # File: openssl-1.0.2u.tar.gz (2019-Dec-20 13:25:43)
14+ ARG OPENSSL_VERSION=1.0.2
1415
1516# Make sure we have basic dev tools for building C libraries. Our goal
1617# here is to support the musl-libc builds and Cargo builds needed for a
@@ -108,8 +109,8 @@ RUN set -eux \
108109 && sudo ln -s /usr/include/x86_64-linux-gnu/asm /usr/local/musl/include/asm \
109110 && sudo ln -s /usr/include/asm-generic /usr/local/musl/include/asm-generic \
110111 && cd /tmp \
111- && curl -LO "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" \
112- && tar xvzf "openssl-$OPENSSL_VERSION.tar.gz" && cd "openssl-$OPENSSL_VERSION" \
112+ && curl -LO "https://www.openssl.org/source/old/${OPENSSL_VERSION}/ openssl-${ OPENSSL_VERSION}u .tar.gz" \
113+ && tar xvzf "openssl-${ OPENSSL_VERSION}u .tar.gz" && cd "openssl-${ OPENSSL_VERSION}u " \
113114 && env CC=musl-gcc ./Configure no-shared no-zlib -fPIC --prefix=/usr/local/musl -DOPENSSL_NO_SECURE_MEMORY linux-x86_64 \
114115 && env C_INCLUDE_PATH=/usr/local/musl/include/ make depend \
115116 && env C_INCLUDE_PATH=/usr/local/musl/include/ make \
You can’t perform that action at this time.
0 commit comments