Add 'Dockerfile'

This commit is contained in:
Jack Hadrill 2022-07-24 15:37:47 +00:00
parent 4e7cc0e37d
commit 3105d63cbb
1 changed files with 14 additions and 0 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
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" ]
ENTRYPOINT [ "dnsmasq", "--no-daemon", "--conf-file" ]
CMD [ "/etc/dnsmasq.conf" ]