Skip to content

Commit

Permalink
[Fix] Switch Docker image to openssl-libs-static-3.1.1-r3.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Jul 22, 2023
1 parent 3e462f8 commit cb992c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN set -x && apk add --no-cache pkgconfig musl-dev openssl-dev perl make curl
# Prepare environment: for cross compilation we download toolchain and `aarch64` OpenSSL libs.
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; \
then set -x && \
curl --remote-name-all https://musl.cc/aarch64-linux-musl-cross.tgz https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/openssl-libs-static-3.1.1-r1.apk && \
apk add --allow-untrusted openssl-libs-static-3.1.1-r1.apk && \
curl --remote-name-all https://musl.cc/aarch64-linux-musl-cross.tgz https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/openssl-libs-static-3.1.1-r3.apk && \
apk add --allow-untrusted openssl-libs-static-3.1.1-r3.apk && \
tar xzf ./aarch64-linux-musl-cross.tgz && \
rustup target add aarch64-unknown-linux-musl; \
else set -x && \
Expand Down

0 comments on commit cb992c4

Please sign in to comment.