2016-02-01 12:35:52 +01:00
|
|
|
FROM ubuntu:14.04
|
|
|
|
|
|
|
|
# install tools and dependencies
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y \
|
2016-02-08 19:58:19 +01:00
|
|
|
gcc \
|
2016-02-01 12:35:52 +01:00
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
# add-apt-repository
|
|
|
|
software-properties-common
|
|
|
|
|
|
|
|
# install multirust
|
|
|
|
RUN curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
|
|
|
|
|
|
|
|
# export rust LIBRARY_PATH
|
|
|
|
ENV LIBRARY_PATH /usr/local/lib
|
|
|
|
|
|
|
|
# show backtraces
|
|
|
|
ENV RUST_BACKTRACE 1
|
|
|
|
|
|
|
|
# build parity
|
|
|
|
RUN git clone https://github.com/ethcore/parity && \
|
|
|
|
cd parity && \
|
2016-03-14 17:53:08 +01:00
|
|
|
cargo install
|