2021-08-08 17:43:06 +01:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2021-09-21 11:10:26 +01:00
|
|
|
ARG TAILSCALE_VERSION
|
2021-09-20 19:23:18 +01:00
|
|
|
|
2021-08-08 17:43:06 +01:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y gnupg curl \
|
|
|
|
&& curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | apt-key add - \
|
|
|
|
&& curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.list | tee /etc/apt/sources.list.d/tailscale.list \
|
|
|
|
&& apt-get update \
|
2022-01-15 16:28:26 +01:00
|
|
|
&& apt-get install -y tailscale=${TAILSCALE_VERSION} dnsutils \
|
2021-08-08 17:43:06 +01:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|