aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMoroccanMalinois <MoroccanMalinois@protonmail.com>2018-09-25 00:14:12 +0200
committerMoroccanMalinois <MoroccanMalinois@protonmail.com>2018-09-25 00:16:13 +0200
commit936e22a9b5bfca9d2073791a5c272901414bc45c (patch)
tree4a245d460d147e3a21d20b6a00e1e28487ca3bdb /Dockerfile
parentMerge pull request #4203 (diff)
downloadmonero-936e22a9b5bfca9d2073791a5c272901414bc45c.tar.xz
Dockerfile: use single build dir
Diffstat (limited to '')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c518b5d03..40ba81d9c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -112,6 +112,7 @@ RUN set -ex \
WORKDIR /src
COPY . .
+ENV USE_SINGLE_BUILDDIR=1
ARG NPROC
RUN set -ex && \
rm -rf build && \
@@ -128,7 +129,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/Linux/master/release/* /usr/local/bin/
+COPY --from=builder /src/build/release/bin /usr/local/bin/
# Contains the blockchain
VOLUME /root/.bitmonero