headscale/Dockerfile.tailscale-HEAD

27 lines
674 B
Docker
Raw Normal View History

FROM golang:latest
RUN apt-get update \
2022-10-26 13:31:30 +02:00
&& apt-get install -y ca-certificates dnsutils git iptables ssh \
&& rm -rf /var/lib/apt/lists/*
2022-10-26 13:31:30 +02:00
RUN useradd --shell=/bin/bash --create-home ssh-it-user
RUN service ssh start
RUN git clone https://github.com/tailscale/tailscale.git
2022-08-16 17:52:59 +02:00
WORKDIR /go/tailscale
RUN git checkout main
RUN sh build_dist.sh tailscale.com/cmd/tailscale
RUN sh build_dist.sh tailscale.com/cmd/tailscaled
2022-03-18 19:35:09 +01:00
RUN cp tailscale /usr/local/bin/
RUN cp tailscaled /usr/local/bin/
ADD integration_test/etc_embedded_derp/tls/server.crt /usr/local/share/ca-certificates/
RUN chmod 644 /usr/local/share/ca-certificates/server.crt
RUN update-ca-certificates