mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 16:54:16 +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 |