mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 12:05:26 +00:00
0333e97630
* make dockerfiles testing only note Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * setup ko image builder for goreleaser Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * remove release-docker Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * remove non-debug Dockerfile Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * Comments and lint Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc> * build debug images based on debian Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc> * remove debug flag for goreleaser Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc> --------- Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
22 lines
675 B
Docker
22 lines
675 B
Docker
# This Dockerfile and the images produced are for testing headscale,
|
|
# and are in no way endorsed by Headscale's maintainers as an
|
|
# official nor supported release or distribution.
|
|
|
|
FROM golang:latest
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y dnsutils git iptables ssh ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN useradd --shell=/bin/bash --create-home ssh-it-user
|
|
|
|
RUN git clone https://github.com/tailscale/tailscale.git
|
|
|
|
WORKDIR /go/tailscale
|
|
|
|
RUN git checkout main \
|
|
&& sh build_dist.sh tailscale.com/cmd/tailscale \
|
|
&& sh build_dist.sh tailscale.com/cmd/tailscaled \
|
|
&& cp tailscale /usr/local/bin/ \
|
|
&& cp tailscaled /usr/local/bin/
|