mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
Merge pull request #4419
936e22a9
Dockerfile: use single build dir (MoroccanMalinois)
This commit is contained in:
commit
c1182e433e
2 changed files with 3 additions and 1 deletions
|
@ -112,6 +112,7 @@ RUN set -ex \
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
ENV USE_SINGLE_BUILDDIR=1
|
||||||
ARG NPROC
|
ARG NPROC
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
rm -rf build && \
|
rm -rf build && \
|
||||||
|
@ -128,7 +129,7 @@ RUN set -ex && \
|
||||||
apt-get --no-install-recommends --yes install ca-certificates && \
|
apt-get --no-install-recommends --yes install ca-certificates && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt
|
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
|
# Contains the blockchain
|
||||||
VOLUME /root/.bitmonero
|
VOLUME /root/.bitmonero
|
||||||
|
|
|
@ -138,4 +138,5 @@ RUN cd /src \
|
||||||
&& CMAKE_INCLUDE_PATH="${PREFIX}/include" \
|
&& CMAKE_INCLUDE_PATH="${PREFIX}/include" \
|
||||||
CMAKE_LIBRARY_PATH="${PREFIX}/lib" \
|
CMAKE_LIBRARY_PATH="${PREFIX}/lib" \
|
||||||
ANDROID_STANDALONE_TOOLCHAIN_PATH=${TOOLCHAIN_DIR} \
|
ANDROID_STANDALONE_TOOLCHAIN_PATH=${TOOLCHAIN_DIR} \
|
||||||
|
USE_SINGLE_BUILDDIR=1 \
|
||||||
PATH=${HOST_PATH} make release-static-android -j${NPROC}
|
PATH=${HOST_PATH} make release-static-android -j${NPROC}
|
||||||
|
|
Loading…
Reference in a new issue