isc-dhcp-with-docker/v4/Dockerfile

7 lines
180 B
Docker

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