Merge pull request #1857
efc4c7b0
Separated dependency installation, git clone and build commands to reduce repeated work on failure (adot23)
This commit is contained in:
commit
1dfed893e0
13
Dockerfile
13
Dockerfile
|
@ -14,12 +14,13 @@ RUN set -x \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
' \
|
' \
|
||||||
&& apt-get -qq update \
|
&& apt-get -qq update \
|
||||||
&& apt-get -qq --no-install-recommends install $buildDeps \
|
&& apt-get -qq --no-install-recommends install $buildDeps
|
||||||
\
|
|
||||||
&& git clone https://github.com/monero-project/monero.git $SRC_DIR \
|
RUN git clone https://github.com/monero-project/monero.git $SRC_DIR
|
||||||
&& cd $SRC_DIR \
|
WORKDIR $SRC_DIR
|
||||||
&& make -j$(nproc) release-static \
|
RUN make -j$(nproc) release-static
|
||||||
&& cp build/release/bin/* /usr/local/bin/ \
|
|
||||||
|
RUN cp build/release/bin/* /usr/local/bin/ \
|
||||||
\
|
\
|
||||||
&& rm -r $SRC_DIR \
|
&& rm -r $SRC_DIR \
|
||||||
&& apt-get -qq --auto-remove purge $buildDeps
|
&& apt-get -qq --auto-remove purge $buildDeps
|
||||||
|
|
Loading…
Reference in New Issue