dhcp-netboot.xyz/Dockerfile
Sam Mesterton-Gibbons 68fd14c7a2 Start dnsmasq as a system service
Adds a service startup file for dnsmasq to run when the container
starts.
Also adds an environment variable to allow DHCP range to be overridden.
2020-05-11 10:35:18 +01:00

12 lines
344 B
Docker

FROM linuxserver/netbootxyz:latest
# Install dnsmasq to play DHCP server
RUN apk add --update dnsmasq
# Copy config files for dnsmasq, and running as a service
COPY etc /etc/
# Set the start of the IP range to reply to PXE DHCP requests on
ENV DHCP_RANGE_START=192.168.0.1
# dnsmasq will be started as a system service by the s6 supervisor