mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-25 02:16:08 +07:00
10 lines
162 B
Docker
10 lines
162 B
Docker
|
FROM alpine:3
|
||
|
|
||
|
RUN apk add dhcp
|
||
|
|
||
|
RUN touch /var/lib/dhcp/dhcpd.leases
|
||
|
|
||
|
COPY dhcpd.conf /etc/dhcp/dhcpd.conf
|
||
|
|
||
|
CMD [ "dhcpd", "-f", "-cf", "/etc/dhcp/dhcpd.conf" ]
|