Update alpine base.
All checks were successful
rust-test Build rust-test has succeeded
clippy Build clippy has succeeded
format Build format has succeeded

This commit is contained in:
Tom Alexander
2024-09-29 21:15:29 -04:00
parent 0b890f7747
commit d1d48a3a88
4 changed files with 6 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
FROM rustlang/rust:nightly-alpine3.19 AS builder
FROM rustlang/rust:nightly-alpine3.20 AS builder
RUN apk add --no-cache musl-dev
@@ -8,6 +8,6 @@ COPY . .
# TODO: Add static build, which currently errors due to proc_macro. RUSTFLAGS="-C target-feature=+crt-static"
RUN CARGO_TARGET_DIR=/target cargo build --profile release-lto
FROM alpine:3.19 AS runner
FROM alpine:3.20 AS runner
COPY --from=builder /target/release-lto/poudboot /usr/bin/

View File

@@ -1,4 +1,4 @@
FROM rustlang/rust:nightly-alpine3.19 AS builder
FROM rustlang/rust:nightly-alpine3.20 AS builder
RUN apk add --no-cache musl-dev
RUN cargo install --locked --no-default-features --features ci-autoclean cargo-cache