From 87c81944a549738d66a6c390a50f0700cb8283b9 Mon Sep 17 00:00:00 2001 From: Barry Pederson Date: Fri, 21 Feb 2025 14:27:28 -0800 Subject: [PATCH] Updated Dockerfile to build with rust 1.85.0 (to get 2024 edition), and run with alpine 3.21.3 (newest version) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 30f2cc2..bedeefc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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