From 4c8f8c6a1c3391ed5c21dbc34cd72debd3061acd Mon Sep 17 00:00:00 2001 From: Juan Font Date: Wed, 10 May 2023 13:48:41 +0000 Subject: [PATCH] Ditch distroless for Docker image distroless has proven a mantenance burden for us, and it has caused headaches for user when trying to debug issues in the container. And in 2023, 20MB of extra disk space are neglectible. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a85c1220..ef877d69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN strip /go/bin/headscale RUN test -e /go/bin/headscale # Production image -FROM gcr.io/distroless/base-debian11 +FROM docker.io/debian:bullseye-slim COPY --from=build /go/bin/headscale /bin/headscale ENV TZ UTC