From ae8e3ad6fe7c2f3f10ea7ac249404069be4864f3 Mon Sep 17 00:00:00 2001 From: Misha Bragin Date: Thu, 7 Jul 2022 16:33:16 +0200 Subject: [PATCH] Enable SSH Login for docker (#385) --- client/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/Dockerfile b/client/Dockerfile index 58b0b5529..fe2ad8015 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,4 +1,6 @@ FROM gcr.io/distroless/base:debug ENV WT_LOG_FILE=console +SHELL ["/busybox/sh","-c"] +RUN sed -i -E 's/(^root:.+)\/sbin\/nologin/\1\/busybox\/sh/g' /etc/passwd ENTRYPOINT [ "/go/bin/netbird","up"] COPY netbird /go/bin/netbird \ No newline at end of file