@@ -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 \
@@ -187,5 +188,5 @@ LABEL org.opencontainers.image.vendor="Jose Quintana" \
187188 org.opencontainers.image.url="https://github.com/joseluisq/rust-linux-darwin-builder" \
188189 org.opencontainers.image.title="Rust Linux / Darwin Builder" \
189190 org.opencontainers.image.description="Use same Docker image for compiling Rust programs for Linux (musl libc) & macOS (osxcross)." \
190- org.opencontainers.image.version="1.41.1 " \
191+ org.opencontainers.image.version="v1.42.0 " \
191192 org.opencontainers.image.documentation="https://github.com/joseluisq/rust-linux-darwin-builder"
0 commit comments