freyanet/Dockerfile
2023-11-10 19:44:48 -05:00

12 lines
359 B
Docker

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"]