Skip to content

Commit 2521cac

Browse files
deadprogramaykevl
authored andcommitted
docker: use git submodule sync to handle case where repo url changes
Signed-off-by: Ron Evans <[email protected]>
1 parent 7ac5319 commit 2521cac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ COPY . /tinygo
1212
# after copying the tinygo directory in the previous step.
1313
RUN cd /tinygo/ && \
1414
rm -rf ./lib/* && \
15+
git submodule sync && \
1516
git submodule update --init --recursive --force
1617

1718
RUN cd /tinygo/ && \

0 commit comments

Comments
 (0)