mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
749c92954c
In preparation for the implementation of the new TS2021 protocol (Tailscale control protocol v2) we are expanding the test infrastructure
22 lines
547 B
Docker
22 lines
547 B
Docker
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/
|
|
RUN cp tailscaled /usr/local/
|
|
|
|
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
|