docker: use git submodule sync to handle case where repo url changes

Signed-off-by: Ron Evans <ron@hybridgroup.com>
Этот коммит содержится в:
Ron Evans 2020-03-16 23:57:05 +01:00 коммит произвёл Ayke
родитель 7ac531906b
коммит 2521cacb51

Просмотреть файл

@ -12,6 +12,7 @@ COPY . /tinygo
# after copying the tinygo directory in the previous step. # after copying the tinygo directory in the previous step.
RUN cd /tinygo/ && \ RUN cd /tinygo/ && \
rm -rf ./lib/* && \ rm -rf ./lib/* && \
git submodule sync && \
git submodule update --init --recursive --force git submodule update --init --recursive --force
RUN cd /tinygo/ && \ RUN cd /tinygo/ && \