Merge pull request #99 from juanfont/explicit-ubuntu-version

Use explicit version in Dockerfile
This commit is contained in:
Juan Font 2021-08-26 21:18:16 +02:00 committed by GitHub
commit 39c661d408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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