docker: remove only subdirectories (which are updated as submodules) from lib to keep picolibc file in its correct place
Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
родитель
da8eb521e1
коммит
8f2082df69
1 изменённых файлов: 2 добавлений и 3 удалений
|
@ -20,10 +20,9 @@ FROM tinygo-llvm-build AS tinygo-compiler
|
||||||
|
|
||||||
COPY . /tinygo
|
COPY . /tinygo
|
||||||
|
|
||||||
# remove submodules directories and re-init them to fix any hard-coded paths
|
# update submodules
|
||||||
# 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 sync && \
|
||||||
git submodule update --init --recursive --force
|
git submodule update --init --recursive --force
|
||||||
|
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче