Skip to content

Commit 40a7acc

Browse files
authored
Initial commit
1 parent 5e58343 commit 40a7acc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM ubuntu:16.04
2+
MAINTAINER Nadezhda Karpova <[email protected]>
3+
4+
RUN apt-get -y update && \
5+
apt-get -y install build-essential cmake libudev-dev\
6+
curl git make g++ gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
7+
libc6-dev-armhf-cross wget file ca-certificates \
8+
binutils-arm-linux-gnueabihf
9+
10+
# install rustup
11+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
12+
RUN git clone https://github.com/paritytech/parity
13+
RUN cd parity;git pull;git checkout "v2.2.9";
14+
RUN cd parity;$HOME/.cargo/bin/cargo build --release && cp target/release/parity /usr/local/bin
15+
16+
EXPOSE 8545 8546 30303/tcp
17+
18+
ENTRYPOINT ["/usr/local/bin/parity"]

0 commit comments

Comments
 (0)