From f3f25ad50c528c7539a59b2258031c70fc20a20b Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Fri, 20 Jan 2017 01:44:22 +0400 Subject: [PATCH] update Dockerfile add dependencies for Docker beta [ci skip] --- docker/ubuntu/Dockerfile | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/docker/ubuntu/Dockerfile b/docker/ubuntu/Dockerfile index e98c60daa..a227dbef8 100644 --- a/docker/ubuntu/Dockerfile +++ b/docker/ubuntu/Dockerfile @@ -1,14 +1,19 @@ FROM ubuntu:14.04 WORKDIR /build # install tools and dependencies -RUN apt-get update && \ - apt-get install -y \ - g++ \ - build-essential \ - curl \ - git \ - file \ - binutils +RUN apt-get -y update && \ + apt-get install -y --force-yes --no-install-recommends g++ gcc libc6 libc6-dev \ + python binutils curl git make file ca-certificates zip dpkg-dev rhash openssl build-essential pkg-config libssl-dev + +# install AWS CLI +RUN curl -O https://bootstrap.pypa.io/get-pip.py && \ + python get-pip.py && \ + pip install awscli + +# install nodejs +RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ + apt-get install -y nodejs && \ + apt-get clean # install rustup RUN curl https://sh.rustup.rs -sSf | sh -s -- -y @@ -30,7 +35,7 @@ RUN git clone https://github.com/ethcore/parity && \ cd parity && \ git checkout beta && \ git pull && \ - cargo build --release --verbose && \ + cargo build --features final --release --verbose && \ ls /build/parity/target/release/parity && \ strip /build/parity/target/release/parity