From 7ee40f6bb8a2789d26b90f1478cefe1891817ed7 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sat, 2 Sep 2023 06:33:08 +0200 Subject: [PATCH] Fixed glibc mismatch --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a9bc62..1c35a17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:latest AS build +FROM rust:bookworm AS build # Create user ENV USER=automation @@ -48,7 +48,7 @@ CMD ["/app/target/release/automation"] # FINAL IMAGE -FROM gcr.io/distroless/cc +FROM gcr.io/distroless/cc-debian12:latest COPY --from=build /etc/passwd /etc/passwd COPY --from=build /etc/group /etc/group