-
Notifications
You must be signed in to change notification settings - Fork 28
/
Dockerfile
33 lines (26 loc) · 941 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 LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN apt-get update
RUN apt-get install -y software-properties-common vim git git-core iputils-ping
RUN add-apt-repository -y ppa:jonathonf/python-3.6
RUN add-apt-repository -y ppa:ethereum/ethereum
RUN apt-get update
RUN apt-get install -y solc
RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv
RUN apt-get install -y libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev
RUN python3.6 -m pip install pip --upgrade
RUN python3.6 -m pip install wheel
RUN ln -sf /usr/local/bin/pip3.6 /usr/local/bin/pip \
&& ln -sf /usr/bin/python3.6 /usr/local/bin/python \
&& pip install -U pip
COPY . /init_env
WORKDIR /init_env/share_data/pyethapp
RUN pip install coincurve==6.0.0
RUN python setup.py install
WORKDIR /pyeth
RUN mkdir /data
EXPOSE 30303
EXPOSE 30303/udp
EXPOSE 8545
# ENTRYPOINT ["/usr/local/bin/pyethapp"]