forked from thaim/docker-submin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (27 loc) · 771 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
34
FROM debian:jessie
MAINTAINER thaim <[email protected]>
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
unzip \
python \
subversion \
python-subversion \
apache2 \
libapache2-svn \
sendmail \
curl \
sqlite3 \
&& apt-get clean \
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
RUN curl --insecure -fSL "https://github.com/mjholtkamp/submin/archive/master.zip" -o master.zip \
&& unzip master.zip -d /opt/ \
&& rm master.zip \
&& cd /opt/submin-master \
&& python setup.py install \
&& cd / \
&& rm -rf /opt/submin-master
RUN usermod -u 1000 www-data
COPY docker-entrypoint.sh /
EXPOSE 80
ENTRYPOINT ["/docker-entrypoint.sh"]
#CMD ["submin"]