Skip to content

Commit

Permalink
Dockerfile: use single build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
MoroccanMalinois committed Sep 24, 2018
1 parent 59024a9 commit 936e22a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ RUN set -ex \
WORKDIR /src
COPY . .

ENV USE_SINGLE_BUILDDIR=1
ARG NPROC
RUN set -ex && \
rm -rf build && \
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions utils/build_scripts/android32.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,5 @@ RUN cd /src \
&& CMAKE_INCLUDE_PATH="${PREFIX}/include" \
CMAKE_LIBRARY_PATH="${PREFIX}/lib" \
ANDROID_STANDALONE_TOOLCHAIN_PATH=${TOOLCHAIN_DIR} \
USE_SINGLE_BUILDDIR=1 \
PATH=${HOST_PATH} make release-static-android -j${NPROC}

0 comments on commit 936e22a

Please sign in to comment.