update Dockerfile
add dependencies for Docker beta [ci skip]
This commit is contained in:
parent
f3c4ea4fb9
commit
f3f25ad50c
@ -1,14 +1,19 @@
|
|||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
# install tools and dependencies
|
# install tools and dependencies
|
||||||
RUN apt-get update && \
|
RUN apt-get -y update && \
|
||||||
apt-get install -y \
|
apt-get install -y --force-yes --no-install-recommends g++ gcc libc6 libc6-dev \
|
||||||
g++ \
|
python binutils curl git make file ca-certificates zip dpkg-dev rhash openssl build-essential pkg-config libssl-dev
|
||||||
build-essential \
|
|
||||||
curl \
|
# install AWS CLI
|
||||||
git \
|
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
|
||||||
file \
|
python get-pip.py && \
|
||||||
binutils
|
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
|
# install rustup
|
||||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
@ -30,7 +35,7 @@ RUN git clone https://github.com/ethcore/parity && \
|
|||||||
cd parity && \
|
cd parity && \
|
||||||
git checkout beta && \
|
git checkout beta && \
|
||||||
git pull && \
|
git pull && \
|
||||||
cargo build --release --verbose && \
|
cargo build --features final --release --verbose && \
|
||||||
ls /build/parity/target/release/parity && \
|
ls /build/parity/target/release/parity && \
|
||||||
strip /build/parity/target/release/parity
|
strip /build/parity/target/release/parity
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user