mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-13 18:31:18 +01:00
a3c5fa1307
Useful when SSH to client containers
7 lines
272 B
Docker
7 lines
272 B
Docker
FROM gcr.io/distroless/base:debug
|
|
ENV WT_LOG_FILE=console
|
|
ENV PATH=/sbin:/usr/sbin:/bin:/usr/bin:/busybox
|
|
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 |