-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (20 loc) · 873 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
FROM tutum/debian:jessie
LABEL Name="ChainCountDown.py"
LABEL Description="A Blockchain aware countdown timer - rendered as a configurable image. Comes with its own webserver."
LABEL Sourcecode="https://github.com/altsheets/chaincountdown"
LABEL Example="http://altsheets.ddns.net:8888"
LABEL Password="Based on tutum/debian:jessie = random password is generated for ssh login. Start: sh withssh.sh"
MAINTAINER @altsheets
RUN apt-get -y update && apt-get -y install \
sudo \
python \
python-pip \
python-imaging \
git \
wget
RUN sudo pip install Pillow
RUN wget https://raw.githubusercontent.com/altsheets/chaincountdown/master/docker/clonethenrunserver.sh
RUN wget https://raw.githubusercontent.com/altsheets/chaincountdown/master/docker/withssh.sh
RUN chmod u+x clonethenrunserver.sh withssh.sh
EXPOSE 8888 22
CMD ["/bin/sh", "clonethenrunserver.sh"]