FROM alpine:latest
RUN apk add dhcp-server-vanilla radvd tzdata && \
touch /var/lib/dhcp/dhcpd.leases && \
mkdir /run/radvd
ADD entrypoint.sh /
ADD dhcpd.conf /etc/dhcp/
ADD radvd.conf /etc/
ENTRYPOINT ["/entrypoint.sh"]