JackBootTFTP/Dockerfile

14 lines
245 B
Docker
Raw Normal View History

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