FROM ubuntu:25.04 LABEL maintainer="Dylan Derr" ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends tftpd-hpa && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN mkdir -p /srv/tftp && \ chmod -R 777 /srv/tftp EXPOSE 69/udp ENV TFTP_PORT=69 ENV TFTP_DIR=/srv/tftp CMD bash -c "/usr/sbin/in.tftpd --ipv4 --foreground --verbosity 4 --address 0.0.0.0:69 --secure --create /srv/tftp > /var/log/tftp.log 2>&1"