mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Dockerfile: init and update submodules
The Docker image is failing to build, as the submodules are not being explicitly initialized and updated. Fixes: https://github.com/monero-project/monero/issues/4582 Signed-off-by: Tyler Baker <tyler@foundries.io>
This commit is contained in:
parent
77e1ebff26
commit
991613f88a
1 changed files with 1 additions and 0 deletions
|
@ -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 ; \
|
||||||
|
|
Loading…
Reference in a new issue