13 lines
359 B
Text
13 lines
359 B
Text
|
FROM alpine
|
||
|
RUN apk add --no-cache wireguard-tools bind-tools bird openrc udev-init-scripts-openrc
|
||
|
COPY ./wait.initd /etc/init.d/wait
|
||
|
COPY ./inet2.initd /etc/init.d/inet2
|
||
|
RUN sed -i 's/#rc_sys=""/rc_sys="docker"/' /etc/rc.conf && \
|
||
|
rc-update add wait && \
|
||
|
rc-update add inet2
|
||
|
COPY ./setup.sh /setup.sh
|
||
|
COPY ./bin /usr/local/bin
|
||
|
|
||
|
ENTRYPOINT ["/setup.sh"]
|
||
|
|