Skip to content

Commit d0bb07a

Browse files
committed
fix: moved openssl src url to openssl-1.0.2u on dockerfile
file used: openssl-1.0.2u.tar.gz (2019-Dec-20 13:25:43) file url: https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz releases url: https://www.openssl.org/source/old/1.0.2/
1 parent 8c685f1 commit d0bb07a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker/tmpl.Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)