Skip to content

Commit

Permalink
Pin Docker image to Alpine 3.20 for keyring build
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 9475e16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/secrets/src/keyring/Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ passthrough = [
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main"

[target.aarch64-unknown-linux-musl]
image = "rust:alpine"
image = "rust:alpine3.20"
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 All @@ -33,5 +33,5 @@ image = "ghcr.io/cross-rs/i686-unknown-linux-gnu:main"
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main"

[target.x86_64-unknown-linux-musl]
image = "rust:alpine"
image = "rust:alpine3.20"
pre-build = ["apk add libsecret-dev musl-dev"]

0 comments on commit 9475e16

Please sign in to comment.