docker-tftp/Dockerfile
2025-07-27 09:52:05 +00:00

22 lines
No EOL
320 B
Docker

FROM alpine:3.22.0
LABEL maintainer="Phil <phil@hackmi.ch>"
LABEL version="0.1"
LABEL description="Docker image for TFTP server using dnsmasq"
WORKDIR /
RUN apk add --no-cache \
bash \
dnsmasq
EXPOSE 69/udp
COPY start.sh init.sh /
RUN chmod +x start.sh init.sh
VOLUME ["/tftp"]
ENTRYPOINT ["./start.sh"]