FROM debian:buster
RUN apt update && apt install -y xinetd tftpd-hpa busybox
COPY tftp.xinetd.conf /etc/xinetd.d/tftp
COPY http.xinetd.conf /etc/xinetd.d/http
RUN echo "http-boot 8014/tcp" >> /etc/services
CMD ["script", "-c", "/usr/sbin/xinetd -d"]
