mirror of
https://github.com/quintusl/rust-socksd.git
synced 2026-11-13 16:17:46 +00:00
Update docker debian base image.
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user