|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# Builder image
|
|
|
|
|
FROM docker.io/golang:1.19.0-bullseye AS build
|
|
|
|
|
ARG VERSION=v0.17.1
|
|
|
|
|
FROM docker.io/golang:1.19.3-bullseye AS build
|
|
|
|
|
ARG VERSION=v0.20.0
|
|
|
|
|
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.0-bullseye
|
|
|
|
|
FROM docker.io/golang:1.19.3-bullseye
|
|
|
|
|
|
|
|
|
|
COPY --from=build /go/bin/headscale /bin/headscale
|
|
|
|
|
ENV TZ UTC
|
|
|
|
|