headscale/Dockerfile.tailscale-HEAD
Juan Font Alonso 0165b89941 Fixed paths
2022-03-18 19:35:09 +01:00

21 lines
555 B
Text

FROM golang:latest
RUN apt-get update \
&& apt-get install -y ca-certificates dnsutils git \
&& 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
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