mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-15 20:19:20 +08:00
11 lines
425 B
Text
11 lines
425 B
Text
FROM ubuntu:latest
|
|
|
|
ARG TAILSCALE_VERSION
|
|
|
|
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 \
|
|
&& apt-get install -y tailscale=${TAILSCALE_VERSION} \
|
|
&& rm -rf /var/lib/apt/lists/*
|