mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 13:35:23 +00:00
749c92954c
In preparation for the implementation of the new TS2021 protocol (Tailscale control protocol v2) we are expanding the test infrastructure
18 lines
676 B
Docker
18 lines
676 B
Docker
FROM ubuntu:latest
|
|
|
|
ARG TAILSCALE_VERSION
|
|
ARG TAILSCALE_CHANNEL
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y gnupg curl \
|
|
&& curl -fsSL https://pkgs.tailscale.com/${TAILSCALE_CHANNEL}/ubuntu/focal.gpg | apt-key add - \
|
|
&& curl -fsSL https://pkgs.tailscale.com/${TAILSCALE_CHANNEL}/ubuntu/focal.list | tee /etc/apt/sources.list.d/tailscale.list \
|
|
&& apt-get update \
|
|
&& apt-get install -y ca-certificates tailscale=${TAILSCALE_VERSION} dnsutils \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
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
|