Using debian11-based distroless image

This commit is contained in:
Alessandro (Ale) Segala 2021-11-06 23:19:56 +00:00 committed by GitHub
parent 3720da6386
commit a6d487de00

View File

@ -10,7 +10,7 @@ COPY . .
RUN go install -a -ldflags="-extldflags=-static" -tags netgo,sqlite_omit_load_extension ./cmd/headscale
RUN test -e /go/bin/headscale
FROM gcr.io/distroless/base
FROM gcr.io/distroless/base-debian11
COPY --from=build /go/bin/headscale /headscale
ENV TZ UTC