homelab/metal/roles/pxe-server/files/dhcp/Dockerfile

7 lines
134 B
Docker
Raw Normal View History

2022-05-12 23:15:51 +02:00
FROM alpine:latest
RUN apk add dhcp
RUN touch /var/lib/dhcp/dhcpd.leases
CMD [ "dhcpd", "-d", "-f", "-cf", "/etc/dhcp/dhcpd.conf" ]