From 91a48d6a435be35e82424db71686cf7d4718098d Mon Sep 17 00:00:00 2001 From: Juan Font Date: Thu, 26 Aug 2021 10:23:45 +0200 Subject: [PATCH] Update Dockerfile Use explicit version in Dockerfile (addresses #95) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0c2af33a..9499af22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ COPY . /go/src/headscale RUN go install -a -ldflags="-extldflags=-static" -tags netgo,sqlite_omit_load_extension ./cmd/headscale RUN test -e /go/bin/headscale -FROM ubuntu:latest +FROM ubuntu:20.04 COPY --from=build /go/bin/headscale /usr/local/bin/headscale ENV TZ UTC