Bump headscale 0.22.1

This commit is contained in:
Peter Cai 2023-05-06 16:47:07 -04:00
parent 91dd293351
commit 80b02fd071

View file

@ -1,6 +1,6 @@
# Builder image
FROM docker.io/golang:1.19.3-bullseye AS build
ARG VERSION=v0.21.0
FROM docker.io/golang:1.20-bullseye AS build
ARG VERSION=v0.22.1
ENV GOPATH /go
RUN apt-get install -y git && \
@ -17,7 +17,7 @@ RUN test -e /go/bin/headscale
# Production image
# Note that we do not use "distroless" because we actually want to have a shell in the image
# to run app.sh (in order to perform custom initialization)
FROM docker.io/golang:1.19.3-bullseye
FROM docker.io/golang:1.20-bullseye
COPY --from=build /go/bin/headscale /bin/headscale
ENV TZ UTC