From 3bc230d639795f837c89529ae092cde2cbd53cd2 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Fri, 27 Jul 2018 19:05:21 +0300 Subject: [PATCH 1/2] Update Dockerfile fix Docker build --- docker/hub/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/hub/Dockerfile b/docker/hub/Dockerfile index 88b11a524c7..02a3e2f3bdd 100644 --- a/docker/hub/Dockerfile +++ b/docker/hub/Dockerfile @@ -34,7 +34,7 @@ RUN apt-get update && \ RUST_BACKTRACE=1 && \ # build parity cd /build&&git clone https://github.com/paritytech/parity-ethereum && \ - cd parity && \ + cd parity-ethereum&& \ git pull&& \ git checkout $BUILD_TAG && \ cargo build --verbose --release --features final && \ From 3dd5efee0acce3d4b17eaa276e1184f40b00d4d4 Mon Sep 17 00:00:00 2001 From: JohnnySheffield Date: Sun, 29 Jul 2018 21:37:01 +0200 Subject: [PATCH 2/2] fix dockerfile paths: parity -> parity-ethereum (#9248) --- docker/hub/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/hub/Dockerfile b/docker/hub/Dockerfile index 02a3e2f3bdd..eb007dc10a8 100644 --- a/docker/hub/Dockerfile +++ b/docker/hub/Dockerfile @@ -38,8 +38,8 @@ cd /build&&git clone https://github.com/paritytech/parity-ethereum && \ git pull&& \ git checkout $BUILD_TAG && \ cargo build --verbose --release --features final && \ - strip /build/parity/target/release/parity && \ - file /build/parity/target/release/parity&&mkdir -p /parity&& cp /build/parity/target/release/parity /parity&&\ + strip /build/parity-ethereum/target/release/parity && \ + file /build/parity-ethereum/target/release/parity&&mkdir -p /parity&& cp /build/parity-ethereum/target/release/parity /parity&&\ #cleanup Docker image rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup&&rm -rf /build&&\ apt-get purge -y \