Add PATH to client Dockerfile (#389)

Useful when SSH to client containers
This commit is contained in:
Maycon Santos 2022-07-12 15:35:51 +02:00 committed by GitHub
parent 75a69ca26b
commit a3c5fa1307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
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"]