Merge pull request #4584

26e0cecb Dockerfile: init and update submodules (Tyler Baker)
This commit is contained in:
Riccardo Spagni 2018-10-15 13:56:05 +02:00
commit 5f4e1fcc90
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 ; \