Enable SSH Login for docker (#385)

This commit is contained in:
Misha Bragin 2022-07-07 16:33:16 +02:00 committed by GitHub
parent ff729f6755
commit ae8e3ad6fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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