-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
56 lines (46 loc) · 1.22 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
pkg-config \
rabbitmq-server \
python-pip \
curl \
jq \
google-perftools \
capnproto \
git \
libsnappy-dev \
libgoogle-perftools-dev \
libsodium* \
libzmq3-dev \
libssl-dev \
binutils-dev \
libcurl4-openssl-dev \
zlib1g-dev \
libdw-dev \
libiberty-dev \
cmake \
build-essential \
&& curl -o v33.tar.gz -L https://github.com/SimonKagstrom/kcov/archive/v33.tar.gz \
&& tar -xf v33.tar.gz && cd kcov-33 \
&& mkdir build && cd build \
&& cmake .. && make && make install \
&& cd ../.. \
&& rm -rf v33.tar.gz kcov-33 \
&& rm -rf /var/lib/apt/lists \
&& rm -rf ~/.cache/pip
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2017-12-05
ENV PATH $PATH:/root/.cargo/bin
RUN cargo install --force --vers 0.3.0 rustfmt-nightly
COPY solc /usr/bin/
RUN chmod +x /usr/bin/solc
RUN pip install -U pip
RUN pip install \
ethereum==2.2.0 \
PyYAML==3.12 \
jsonrpcclient==2.5.2 \
jsonschema==2.6.0 \
requests==2.18.4 \
pysodium toml
COPY libgmssl.so.1.0.0 /usr/local/lib/
RUN ln -srf /usr/local/lib/libgmssl.so.1.0.0 /usr/local/lib/libgmssl.so
RUN ldconfig