This commit is contained in:
parent
b10b2bb305
commit
cdbf693a51
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user