diff --git a/Dockerfile b/Dockerfile index 810b25d..455470c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Stage 1: Build the application # Use a specific Rust version for reproducibility, slim variant for smaller base -FROM rust:1.87-slim-bullseye AS builder -LABEL maintainer="Gemini Code Assist" +FROM rust:1.87-slim-bookworm AS builder +LABEL maintainer="Quintus Leung" # Install system dependencies if needed by any crates (e.g., libssl-dev, pkg-config for TLS/crypto) # RUN apt-get update && apt-get install -y libssl-dev pkg-config @@ -24,7 +24,7 @@ COPY src ./src RUN cargo build --release --locked # Stage 2: Create the final lightweight image -FROM debian:bullseye-slim AS runner +FROM debian:bookworm-slim AS runner # Arguments for user/group creation, can be overridden at build time ARG UID=1001