From 371b7259be6390b04bc04b63f4a09f2000d47351 Mon Sep 17 00:00:00 2001 From: sethsimmons Date: Wed, 21 Apr 2021 15:10:08 -0400 Subject: [PATCH] Minor layer optimization from DL3059 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b80dffc..da5b327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,8 +39,7 @@ RUN git clone --recursive --branch ${MONERO_BRANCH} \ # Make static Monero binaries ARG NPROC -RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc -RUN make -j"$(cat /nproc)" release-static +RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc && make -j"$(cat /nproc)" release-static # Select Ubuntu 20.04LTS for the image base FROM ubuntu:20.04