Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Update CentOS Dockerfile
[ci skip]
  • Loading branch information
General-Beck authored Jun 24, 2016
1 parent 3c63244 commit 8cc349b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8cc349b

Please sign in to comment.