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

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2020-03-16 23:57:05 +01:00
committed by Ayke
parent 7ac531906b
commit 2521cacb51
+1
View File
@@ -12,6 +12,7 @@ COPY . /tinygo
# after copying the tinygo directory in the previous step.
RUN cd /tinygo/ && \
rm -rf ./lib/* && \
git submodule sync && \
git submodule update --init --recursive --force
RUN cd /tinygo/ && \