Updated Dockerfile to build with rust 1.85.0 (to get 2024 edition), and run with alpine 3.21.3 (newest version)

This commit is contained in:
Barry Pederson
2025-02-21 14:27:28 -08:00
parent 93ad2cc8a7
commit 87c81944a5
+2 -2
View File
@@ -1,6 +1,6 @@
################
##### Builder
FROM rust:1.82.0-slim AS builder
FROM rust:1.85.0-slim AS builder
WORKDIR /usr/src
@@ -20,7 +20,7 @@ RUN cargo build --package server --target x86_64-unknown-linux-musl --release
################
##### Runtime
FROM alpine:3.20.3 AS runtime
FROM alpine:3.21.3 AS runtime
# Copy application binary from builder image
COPY --from=builder /usr/src/target/x86_64-unknown-linux-musl/release/saslauthd /usr/local/bin