Add 'Dockerfile'
This commit is contained in:
parent
4e7cc0e37d
commit
3105d63cbb
|
@ -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" ]
|
Loading…
Reference in New Issue