docker-tftp/Dockerfile

13 lines
249 B
Docker
Raw Normal View History

2022-06-20 09:52:58 +00:00
FROM alpine:latest
COPY ./run.sh /opt/run.sh
RUN set -xe \
&& apk add --no-cache tftp-hpa \
2022-07-29 05:29:54 +00:00
&& chmod +x /opt/run.sh \
&& rm -rf /dev/logs \
&& ln -s /dev/stdout /dev/logs
2022-06-20 09:52:58 +00:00
VOLUME ["/var/tftpboot"]
CMD ["/opt/run.sh"]
EXPOSE 69/udp