-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathDockerfile-py27
More file actions
30 lines (23 loc) · 797 Bytes
/
Dockerfile-py27
File metadata and controls
30 lines (23 loc) · 797 Bytes
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
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-2.7
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 python2.7-dev python-pip
RUN apt-get install -y libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev
RUN python -m pip install pip --upgrade
RUN python -m pip install wheel
COPY . /init_env
WORKDIR /init_env/share_data/pyethapp
RUN pip install coincurve==6.0.0
RUN USE_PYETHEREUM_DEVELOP=1 python setup.py install
WORKDIR /pyeth
RUN mkdir /data
EXPOSE 30303
EXPOSE 30303/udp
EXPOSE 8545
# ENTRYPOINT ["/usr/local/bin/pyethapp"]