Skip to content

Commit

Permalink
Update the Dockerfile used to build Linux
Browse files Browse the repository at this point in the history
releases to the latest
version of OpenSSL, and change the url where we pull the source from to
GitHub because the openssl.com url breaks everytime there's a new
release
  • Loading branch information
EliSnow committed Apr 10, 2020
1 parent 586e9b3 commit 4144fe2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/linux-x86_64-musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG TOOLCHAIN=nightly

# for libressl
# ARG OPENSSL_VERSION=3.0.2
ARG OPENSSL_VERSION=1.1.1e
ARG OPENSSL_VERSION=1.1.1f

RUN apt-get -qq update && \
apt-get -qq install -y \
Expand All @@ -22,7 +22,8 @@ RUN ls /usr/include/linux && \
ln -s /usr/include/x86_64-linux-gnu/asm /usr/local/musl/include/asm && \
ln -s /usr/include/asm-generic /usr/local/musl/include/asm-generic && \
cd /tmp && \
curl -L "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" | \
export URL_VERSION=`echo $OPENSSL_VERSION | tr . _` && \
curl -L "https://github.com/openssl/openssl/archive/OpenSSL_$URL_VERSION.tar.gz" | \
tar xzf - --strip-components 1 && \
env CC=musl-gcc ./Configure no-shared no-zlib -fPIC --prefix=/usr/local/musl -DOPENSSL_NO_SECURE_MEMORY linux-x86_64 && \
env C_INCLUDE_PATH=/usr/local/musl/include/ make --quiet depend && \
Expand Down

0 comments on commit 4144fe2

Please sign in to comment.