-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
34 lines (32 loc) · 1.17 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:16.04
WORKDIR /root/cita
COPY solc /usr/bin/
COPY libgmssl.so.1.0.0 /usr/local/lib/
RUN apt-get update \
&& apt-get install -y rabbitmq-server \
python-pip \
capnproto \
libsnappy-dev \
libgoogle-perftools-dev \
libssl-dev \
libsodium* \
curl \
libcurl3 \
sysstat \
&& chmod +x /usr/bin/solc \
&& ln -srf /usr/local/lib/libgmssl.so.1.0.0 /usr/local/lib/libgmssl.so \
&& ldconfig \
&& pip install -U pip ethereum==2.2.0 pysodium toml \
jsonrpcclient[requests]==2.4.2 \
secp256k1==0.13.2 \
py_solc==1.2.2 \
simplejson==3.11.1 \
protobuf==3.4.0 \
pathlib==1.0.1 \
ecdsa \
pysha3>=1.0.2 \
&& rm -rf /var/lib/apt/lists \
&& rm -rf ~/.cache/pip \
&& apt-get autoremove \
&& apt-get clean \
&& apt-get autoclean