2021-08-08 10:43:06 -06:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2021-09-21 04:10:26 -06:00
|
|
|
ARG TAILSCALE_VERSION
|
2022-03-18 10:05:28 -06:00
|
|
|
ARG TAILSCALE_CHANNEL
|
2021-09-20 12:23:18 -06:00
|
|
|
|
2021-08-08 10:43:06 -06:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y gnupg curl \
|
2022-03-18 10:05:28 -06:00
|
|
|
&& 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 \
|
2021-08-08 10:43:06 -06:00
|
|
|
&& apt-get update \
|
2022-03-05 11:34:06 -07:00
|
|
|
&& apt-get install -y ca-certificates tailscale=${TAILSCALE_VERSION} dnsutils \
|
2021-08-08 10:43:06 -06:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2022-03-05 11:34:06 -07:00
|
|
|
|
|
|
|
ADD integration_test/etc_embedded_derp/tls/server.crt /usr/local/share/ca-certificates/
|
|
|
|
RUN chmod 644 /usr/local/share/ca-certificates/server.crt
|
|
|
|
|
2022-03-06 12:42:27 -07:00
|
|
|
RUN update-ca-certificates
|