Skip to content

Commit

Permalink
Fix keyring prebuild for arm64 alpine
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Dec 21, 2024
1 parent 977580a commit 5ac932d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/secrets/src/keyring/Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ passthrough = [
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main"

[target.aarch64-unknown-linux-musl]
image = "rust:alpine"
image = "ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine"
pre-build = [
"wget -qO- https://musl.cc/aarch64-linux-musl-cross.tgz | tar -xzC / && export PATH=\"/aarch64-linux-musl-cross/bin:$PATH\"",
"apk add --no-cache musl-dev pkgconfig",
"apk add -p /aarch64-linux-musl-cross --initdb --arch aarch64 --allow-untrusted -X \"https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/\" --no-cache --no-scripts libsecret-dev",
"apk add -p /aarch64-linux-musl-cross --initdb --arch aarch64 --allow-untrusted -X $(head -n 1 /etc/apk/repositories) --no-cache --no-scripts libsecret-dev",
"rustup target add aarch64-unknown-linux-musl"
]

Expand Down

0 comments on commit 5ac932d

Please sign in to comment.