mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-24 02:25:24 +00:00
10 lines
381 B
Docker
10 lines
381 B
Docker
|
FROM ubuntu:latest
|
||
|
|
||
|
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 \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|