mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
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:
parent
997e93455d
commit
4c8f8c6a1c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user