Update Dockerfile (#9242)
* Update Dockerfile fix Docker build * fix dockerfile paths: parity -> parity-ethereum (#9248)
This commit is contained in:
parent
c54beba932
commit
771ea47d37
@ -34,12 +34,12 @@ RUN apt-get update && \
|
|||||||
RUST_BACKTRACE=1 && \
|
RUST_BACKTRACE=1 && \
|
||||||
# build parity
|
# build parity
|
||||||
cd /build&&git clone https://github.com/paritytech/parity-ethereum && \
|
cd /build&&git clone https://github.com/paritytech/parity-ethereum && \
|
||||||
cd parity && \
|
cd parity-ethereum&& \
|
||||||
git pull&& \
|
git pull&& \
|
||||||
git checkout $BUILD_TAG && \
|
git checkout $BUILD_TAG && \
|
||||||
cargo build --verbose --release --features final && \
|
cargo build --verbose --release --features final && \
|
||||||
strip /build/parity/target/release/parity && \
|
strip /build/parity-ethereum/target/release/parity && \
|
||||||
file /build/parity/target/release/parity&&mkdir -p /parity&& cp /build/parity/target/release/parity /parity&&\
|
file /build/parity-ethereum/target/release/parity&&mkdir -p /parity&& cp /build/parity-ethereum/target/release/parity /parity&&\
|
||||||
#cleanup Docker image
|
#cleanup Docker image
|
||||||
rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup&&rm -rf /build&&\
|
rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup&&rm -rf /build&&\
|
||||||
apt-get purge -y \
|
apt-get purge -y \
|
||||||
|
Loading…
Reference in New Issue
Block a user