-
Notifications
You must be signed in to change notification settings - Fork 11
/
Dockerfile
33 lines (23 loc) · 953 Bytes
/
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
FROM ubuntu:16.04
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -y libcurl4-openssl-dev cmake libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev libyaml-cpp-dev && \
apt-get install -y git && \
apt-get install -y wget && apt-get install -y curl && \
apt-get install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && \
apt-get install -y python3.6 libpython3.6-dev
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
RUN git clone https://github.com/ethereum/pyethereum && \
cd ./pyethereum && \
git checkout develop && \
git checkout 3d5ec14032cc471f4dcfc7cc5c947294daf85fe0 && \
pip3.6 install --default-timeout=100 . && \
cd ../
WORKDIR /usr/src/core
ADD ./requirements.txt .
RUN pip3.6 install --default-timeout=100 -r ./requirements.txt
ADD . .
ENTRYPOINT ["python3.6", "./extractor.py"]