mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 19:31:06 +01:00
dcf6533ed5
Adding --external-ip-map and --dns-resolver-address to up command and shorthand option to global flags. Refactor get and read config functions with new ConfigInput type. updated cobra package to latest release.
7 lines
276 B
Docker
7 lines
276 B
Docker
FROM gcr.io/distroless/base:debug
|
|
ENV NB_FOREGROUND_MODE=true
|
|
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 |