mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-10 17:12:33 +08:00
Add Dockerfile to build tailscale docker image for integration tests
This commit is contained in:
parent
a43bb1bb40
commit
f973aef80c
1 changed files with 9 additions and 0 deletions
9
Dockerfile.tailscale
Normal file
9
Dockerfile.tailscale
Normal file
|
@ -0,0 +1,9 @@
|
|||
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/*
|
Loading…
Reference in a new issue