-
Notifications
You must be signed in to change notification settings - Fork 29
/
Dockerfile
29 lines (22 loc) · 948 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
FROM debian:jessie
MAINTAINER Sita Liu <chsliu+docker@gmail>
RUN echo root:pass | chpasswd && \
echo "Acquire::GzipIndexes \"false\"; Acquire::CompressionTypes::Order:: \"gz\";" >/etc/apt/apt.conf.d/docker-gzip-indexes && \
apt-get update && \
apt-get install -y \
wget \
locales && \
dpkg-reconfigure locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8 && \
wget http://www.webmin.com/jcameron-key.asc && \
apt-key add jcameron-key.asc && \
echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list && \
echo "deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y webmin && \
apt-get clean
ENV LC_ALL C.UTF-8
EXPOSE 10000
VOLUME ["/etc/webmin"]
CMD /usr/bin/touch /var/webmin/miniserv.log && /usr/sbin/service webmin restart && /usr/bin/tail -f /var/webmin/miniserv.log