1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-21 23:47:34 +00:00
headscale/Dockerfile.tailscale-HEAD

22 lines
564 B
Docker
Raw Permalink Normal View History

FROM golang:latest
RUN apt-get update \
2022-03-20 12:30:08 +01:00
&& apt-get install -y ca-certificates dnsutils git iptables \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/tailscale/tailscale.git
WORKDIR tailscale
RUN sh build_dist.sh tailscale.com/cmd/tailscale
RUN sh build_dist.sh tailscale.com/cmd/tailscaled
2022-03-18 19:35:09 +01:00
RUN cp tailscale /usr/local/bin/
RUN cp tailscaled /usr/local/bin/
ADD integration_test/etc_embedded_derp/tls/server.crt /usr/local/share/ca-certificates/
RUN chmod 644 /usr/local/share/ca-certificates/server.crt
RUN update-ca-certificates