From 1a2504ff6c6f2c4ef17925ae6610b383e19a8027 Mon Sep 17 00:00:00 2001 From: Mukhtar Akere <32229538+sirrobot01@users.noreply.github.com> Date: Tue, 28 Jan 2025 21:15:40 +0100 Subject: [PATCH] Move image to use distroless with PGID and PUID (#21) --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcc9061..54494e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,12 +22,10 @@ RUN CGO_ENABLED=0 GOOS=$(echo $TARGETPLATFORM | cut -d '/' -f1) GOARCH=$(echo $T FROM alpine as logsetup RUN mkdir -p /logs && \ touch /logs/decypharr.log && \ - chown -R 1000:1000 /logs && \ chmod -R 755 /logs && \ chmod 666 /logs/decypharr.log -FROM scratch -COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +FROM gcr.io/distroless/static-debian12:latest COPY --from=builder /blackhole /blackhole COPY --from=builder /app/README.md /README.md COPY --from=logsetup /logs /logs