openethereum/docker/ubuntu/Dockerfile

24 lines
393 B
Docker
Raw Normal View History

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-03-14 18:25:05 +01:00
g++ \
2016-02-01 12:35:52 +01:00
curl \
git \
2016-03-14 18:25:05 +01:00
make
2016-02-01 12:35:52 +01:00
2016-06-20 11:02:31 +02:00
# install rustup
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
2016-02-01 12:35:52 +01:00
2016-06-20 11:02:31 +02:00
# rustup directory
ENV PATH /root/.cargo/bin:$PATH
2016-02-01 12:35:52 +01:00
# show backtraces
ENV RUST_BACKTRACE 1
# build parity
RUN git clone https://github.com/ethcore/parity && \
cd parity && \
2016-03-14 18:47:23 +01:00
cargo build --release