mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-08 00:11:42 +01: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 go install -a -ldflags="-extldflags=-static" -tags netgo,sqlite_omit_load_extension ./cmd/headscale
|
||||||
RUN test -e /go/bin/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
|
COPY --from=build /go/bin/headscale /headscale
|
||||||
ENV TZ UTC
|
ENV TZ UTC
|
||||||
|
Loading…
Reference in New Issue
Block a user