From 8cc349bcb035969de99d29cc9b37014ba31ebc7a Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Sat, 25 Jun 2016 00:59:03 +0700 Subject: [PATCH] Update Dockerfile Update CentOS Dockerfile [ci skip] --- docker/centos/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile index 5ce61129f..56015422c 100644 --- a/docker/centos/Dockerfile +++ b/docker/centos/Dockerfile @@ -2,24 +2,26 @@ FROM centos:latest WORKDIR /build # install tools and dependencies RUN yum -y update&& \ - yum install -y git make gcc-c++ gcc file + yum install -y git make gcc-c++ gcc file binutils # install rustup RUN curl -sSf https://static.rust-lang.org/rustup.sh -o rustup.sh &&\ ls&&\ sh rustup.sh -s -- --disable-sudo # show backtraces ENV RUST_BACKTRACE 1 +# set compiler ENV CXX g++ ENV CC gcc +# show tools RUN rustc -vV && \ cargo -V && \ gcc -v &&\ g++ -v -# git clone parity +# build parity RUN git clone https://github.com/ethcore/parity && \ cd parity&&\ ls -a&&\ cargo build --release --verbose && \ ls /build/parity/target/release/parity && \ - file /build/parity/target/release/parity && \ + strip /build/parity/target/release/parity RUN file /build/parity/target/release/parity