mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
Using debian11-based distroless image
This commit is contained in:
parent
3720da6386
commit
a6d487de00
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user