docker: use git submodule sync to handle case where repo url changes
Signed-off-by: Ron Evans <ron@hybridgroup.com>
Этот коммит содержится в:
родитель
7ac531906b
коммит
2521cacb51
1 изменённых файлов: 1 добавлений и 0 удалений
|
@ -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/ && \
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче