Minor layer optimization from DL3059

This commit is contained in:
sethsimmons
2021-04-21 15:10:08 -04:00
parent 1d6a82f633
commit 371b7259be

View File

@@ -39,8 +39,7 @@ RUN git clone --recursive --branch ${MONERO_BRANCH} \
# Make static Monero binaries # Make static Monero binaries
ARG NPROC ARG NPROC
RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc && make -j"$(cat /nproc)" release-static
RUN make -j"$(cat /nproc)" release-static
# Select Ubuntu 20.04LTS for the image base # Select Ubuntu 20.04LTS for the image base
FROM ubuntu:20.04 FROM ubuntu:20.04