2022-07-24 16:37:47 +01:00
|
|
|
FROM alpine:3.16
|
|
|
|
|
|
|
|
RUN apk add --no-cache dnsmasq
|
|
|
|
RUN echo -e "\
|
|
|
|
port=0\n\
|
|
|
|
enable-tftp\n\
|
|
|
|
tftp-root=/tftp\
|
|
|
|
" > /etc/dnsmasq.conf
|
|
|
|
|
|
|
|
EXPOSE 69/udp
|
|
|
|
VOLUME [ "/tftp" ]
|
|
|
|
|
2022-07-24 17:06:21 +01:00
|
|
|
ENTRYPOINT [ "dnsmasq", "--no-daemon" ]
|
|
|
|
CMD [ "" ]
|