1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Add certificates to docker image so we can get derpmap from tailscale

This commit is contained in:
Kristoffer Dalby 2021-10-22 16:56:23 +00:00
parent 582eb57a09
commit 0e902fe949

View File

@ -12,6 +12,11 @@ RUN test -e /go/bin/headscale
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN apt-get update \
&& apt-get install -y ca-certificates \
&& update-ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY --from=build /go/bin/headscale /usr/local/bin/headscale COPY --from=build /go/bin/headscale /usr/local/bin/headscale
ENV TZ UTC ENV TZ UTC