install root overlay before doing build scripts

This commit is contained in:
Jeffrey Paul 2020-04-11 12:08:25 -07:00
parent 1f7c0bc105
commit 9e04a5fdf7
1 changed files with 2 additions and 2 deletions

View File

@ -33,11 +33,11 @@ RUN \
rm -rf /root/go && \
rm /etc/ssh/*host*key*
COPY ./root /
COPY ./setup /tmp/setup
RUN bash /tmp/setup/run.sh
COPY ./root /
RUN chmod +rx /etc/service/*/run
CMD ["/usr/local/sbin/runsvinit"]