uprev Headscale

This commit is contained in:
Peter Cai 2023-05-18 12:02:42 -04:00
parent e6d33860bf
commit 378acb1955
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# Builder image # Builder image
FROM docker.io/golang:1.20-bullseye AS build FROM docker.io/golang:1.20-bullseye AS build
ARG VERSION=v0.22.1 ARG VERSION=v0.22.3
ENV GOPATH /go ENV GOPATH /go
RUN apt-get install -y git && \ RUN apt-get install -y git && \

View file

@ -2,4 +2,5 @@
touch /var/lib/headscale/db.sqlite touch /var/lib/headscale/db.sqlite
mkdir /var/lib/headscale/.cache mkdir /var/lib/headscale/.cache
mkdir -p /var/run/headscale
exec headscale -c /etc/headscale/config.yaml serve exec headscale -c /etc/headscale/config.yaml serve