From 9ea6ad0e3e1d0562802d26a4cdf604a6dfa89ce5 Mon Sep 17 00:00:00 2001 From: Brooke Hedrick Date: Thu, 30 Oct 2025 17:18:32 -0500 Subject: [PATCH] Update base image from debian:bookworm-slim to debian:trixie-slim To fix an issue with GLIBC when running the image after building docker run --env-file ./configs/docker.env -p 8000:8000 -p 8888:8888/udp pinging:0.0.1 /app/pinging: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /app/pinging) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff3b3a8..055b775 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY ./backend /app RUN cargo build --release # Runtime stage -FROM debian:bookworm-slim AS run +FROM debian:trixie-slim AS run RUN apt-get update && \ apt-get install -y ca-certificates && \ apt-get clean && \ @@ -22,4 +22,4 @@ COPY --from=build-frontend /app/dist /app/public COPY --from=build-backend /app/target/release/pinging /app/pinging USER nobody EXPOSE 8000/tcp 8888/udp -ENTRYPOINT ["/app/pinging"] \ No newline at end of file +ENTRYPOINT ["/app/pinging"]