diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 96526e450..cd3e7df70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -112,8 +112,10 @@ RUN set -ex \ WORKDIR /src COPY . . +ENV USE_SINGLE_BUILDDIR=1 ARG NPROC RUN set -ex && \ + git submodule init && git submodule update && \ rm -rf build && \ if [ -z "$NPROC" ] ; \ then make -j$(nproc) release-static ; \ @@ -128,8 +130,7 @@ RUN set -ex && \ apt-get --no-install-recommends --yes install ca-certificates && \ apt-get clean && \ rm -rf /var/lib/apt - -COPY --from=builder /src/build/release/bin/* /usr/local/bin/ +COPY --from=builder /src/build/release/bin /usr/local/bin/ # Contains the blockchain VOLUME /root/.bitmonero |