13 lines
249 B
Docker
13 lines
249 B
Docker
FROM alpine:latest
|
|
COPY ./run.sh /opt/run.sh
|
|
RUN set -xe \
|
|
&& apk add --no-cache tftp-hpa \
|
|
&& chmod +x /opt/run.sh \
|
|
&& rm -rf /dev/logs \
|
|
&& ln -s /dev/stdout /dev/logs
|
|
|
|
VOLUME ["/var/tftpboot"]
|
|
CMD ["/opt/run.sh"]
|
|
|
|
EXPOSE 69/udp
|