Add support for 64-bit ARM binary (#1774)

This commit is contained in:
Evan Read 2025-07-25 20:06:15 +10:00 committed by GitHub
parent e743ea3f5f
commit 8ec86dfee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -47,6 +47,7 @@ jobs:
- arm-unknown-linux-musleabi
- arm-unknown-linux-musleabihf
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
# See https://github.com/briansmith/ring/issues/562
# - mips-unknown-linux-musl
# - mipsel-unknown-linux-musl

View file

@ -5,15 +5,15 @@ ARG LYCHEE_VERSION="latest"
RUN apk add --no-cache ca-certificates jq wget \
&& ARCH=$(case $(arch) in \
"x86_64") echo "x86_64-unknown-linux-musl";; \
"aarch64") echo "arm-unknown-linux-musleabihf";; \
"amd64") echo "x86_64";; \
"arm64") echo "aarch64";; \
*) echo "Unsupported architecture" && exit 1;; \
esac) \
&& BASE_URL=$(case $LYCHEE_VERSION in \
"latest" | "nightly") echo "https://github.com/lycheeverse/lychee/releases/latest/download";; \
*) echo "https://github.com/lycheeverse/lychee/releases/download/$LYCHEE_VERSION";; \
esac) \
&& wget -4 -q -O - "$BASE_URL/lychee-$ARCH.tar.gz" | tar -xz lychee \
&& wget -q -O - "$BASE_URL/lychee-$ARCH-unknown-linux-musl.tar.gz" | tar -xz lychee \
&& chmod +x lychee
FROM alpine:latest