mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Separated dependency installation, git clone and build commands to reduce repeated work on failure
This commit is contained in:
parent
b67877af6f
commit
efc4c7b09f
1 changed files with 7 additions and 6 deletions
13
Dockerfile
13
Dockerfile
|
@ -14,12 +14,13 @@ RUN set -x \
|
|||
pkg-config \
|
||||
' \
|
||||
&& apt-get -qq update \
|
||||
&& apt-get -qq --no-install-recommends install $buildDeps \
|
||||
\
|
||||
&& git clone https://github.com/monero-project/monero.git $SRC_DIR \
|
||||
&& cd $SRC_DIR \
|
||||
&& make -j$(nproc) release-static \
|
||||
&& cp build/release/bin/* /usr/local/bin/ \
|
||||
&& apt-get -qq --no-install-recommends install $buildDeps
|
||||
|
||||
RUN git clone https://github.com/monero-project/monero.git $SRC_DIR
|
||||
WORKDIR $SRC_DIR
|
||||
RUN make -j$(nproc) release-static
|
||||
|
||||
RUN cp build/release/bin/* /usr/local/bin/ \
|
||||
\
|
||||
&& rm -r $SRC_DIR \
|
||||
&& apt-get -qq --auto-remove purge $buildDeps
|
||||
|
|
Loading…
Reference in a new issue