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.
This commit is contained in:
Juan Font 2023-05-10 13:48:41 +00:00
parent 997e93455d
commit 4c8f8c6a1c

View File

@ -14,7 +14,7 @@ RUN strip /go/bin/headscale
RUN test -e /go/bin/headscale RUN test -e /go/bin/headscale
# Production image # Production image
FROM gcr.io/distroless/base-debian11 FROM docker.io/debian:bullseye-slim
COPY --from=build /go/bin/headscale /bin/headscale COPY --from=build /go/bin/headscale /bin/headscale
ENV TZ UTC ENV TZ UTC