SSH integration test setup

This commit is contained in:
Even Holthe 2022-10-26 13:31:30 +02:00 committed by Kristoffer Dalby
parent 52a323b90d
commit 519f22f9bf
3 changed files with 124 additions and 2 deletions

View file

@ -1,9 +1,12 @@
FROM golang:latest
RUN apt-get update \
&& apt-get install -y ca-certificates dnsutils git iptables \
&& apt-get install -y ca-certificates dnsutils git iptables ssh \
&& rm -rf /var/lib/apt/lists/*
RUN useradd --shell=/bin/bash --create-home ssh-it-user
RUN service ssh start
RUN git clone https://github.com/tailscale/tailscale.git