Merge pull request #4591

991613f8 Dockerfile: init and update submodules (Tyler Baker)
This commit is contained in:
Riccardo Spagni 2018-10-15 13:32:57 +02:00
commit a5e498f859
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ COPY . .
ENV USE_SINGLE_BUILDDIR=1 ENV USE_SINGLE_BUILDDIR=1
ARG NPROC ARG NPROC
RUN set -ex && \ RUN set -ex && \
git submodule init && git submodule update && \
rm -rf build && \ rm -rf build && \
if [ -z "$NPROC" ] ; \ if [ -z "$NPROC" ] ; \
then make -j$(nproc) release-static ; \ then make -j$(nproc) release-static ; \