Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
quackerd 2022-07-29 05:29:54 +00:00
parent b10b2bb305
commit cdbf693a51

View File

@ -2,7 +2,9 @@ FROM alpine:latest
COPY ./run.sh /opt/run.sh COPY ./run.sh /opt/run.sh
RUN set -xe \ RUN set -xe \
&& apk add --no-cache tftp-hpa \ && apk add --no-cache tftp-hpa \
&& chmod +x /opt/run.sh && chmod +x /opt/run.sh \
&& rm -rf /dev/logs \
&& ln -s /dev/stdout /dev/logs
VOLUME ["/var/tftpboot"] VOLUME ["/var/tftpboot"]
CMD ["/opt/run.sh"] CMD ["/opt/run.sh"]