2015-06-19 18:26:03 -07:00
|
|
|
FROM ubuntu:trusty
|
|
|
|
|
|
|
|
COPY start /start
|
|
|
|
|
2015-08-08 16:29:23 -07:00
|
|
|
RUN apt-get update ; \
|
2015-11-01 18:05:04 -08:00
|
|
|
apt-get install -y python3 python3-sphinx python3-setuptools python3-dev python3-requests python3-pip python3-lxml make wget unzip libmysqlclient-dev ; \
|
2015-08-08 16:29:23 -07:00
|
|
|
pip3 install pytz praw ; \
|
|
|
|
cd /tmp ; \
|
|
|
|
wget https://github.com/jgarzik/python-bitcoinrpc/archive/master.zip ; \
|
|
|
|
unzip master.zip ; \
|
|
|
|
cd python-bitcoinrpc-master/ ; \
|
|
|
|
python3 setup.py install ; \
|
|
|
|
cd /tmp ; \
|
|
|
|
wget https://github.com/dpedu/MySQL-for-Python-3/archive/master.zip -O mysqldb.zip ; \
|
|
|
|
unzip mysqldb.zip ; \
|
|
|
|
cd MySQL-for-Python-3-master/ ; \
|
|
|
|
python3 setup.py install ; \
|
|
|
|
chmod +x /start ; \
|
|
|
|
mkdir /tmp/docs
|
2015-06-19 18:26:03 -07:00
|
|
|
|
2015-06-19 20:23:36 -07:00
|
|
|
CMD /start
|