-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
64 lines (57 loc) · 1.58 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
FROM ubuntu:16.04
MAINTAINER Dominik Schulz <[email protected]>
RUN apt-get update --yes && apt-get install --yes --force-yes --no-install-recommends \
build-essential \
cpanminus \
libcgi-application-basic-plugin-bundle-perl \
libcgi-application-perl \
libcgi-application-plugin-authentication-perl \
libcgi-application-plugin-requiressl-perl \
libcgi-application-plugin-tt-perl \
libcgi-fast-perl \
libconfig-std-perl \
libcourriel-perl \
libcrypt-cbc-perl \
libdbd-mysql-perl \
libdbi-perl \
libdigest-md5-file-perl \
libdigest-perl \
libdigest-perl-md5-perl \
libemail-date-format-perl \
libhtml-clean-perl \
libjson-perl \
libmail-pop3client-perl \
libmail-sender-perl \
libmail-spamassassin-perl \
libmime-encwords-perl \
libmime-tools-perl \
libmoose-perl \
libnamespace-autoclean-perl \
libnet-imap-client-perl \
libnet-imap-perl \
libnet-server-perl \
libreadonly-perl \
libtemplate-perl \
libtest-pod-perl \
libtest-memory-cycle-perl \
libtext-csv-perl \
libtext-csv-xs-perl \
libtext-levenshtein-perl \
lighttpd \
make \
openjdk-8-jre-headless \
perl \
perltidy \
&& rm -rf /var/lib/apt/lists/*
RUN cpanm \
Log::Tree \
Data::Pwgen
ADD . /srv/vboxadm
WORKDIR /srv/vboxadm
RUN make real-install
RUN ln -s /srv/vboxadm/doc/vboxadm/lighttpd/50-vboxadm-fcgi.conf /etc/lighttpd/conf-enabled/
RUN mkdir -p /etc/vboxadm
RUN cp /srv/vboxadm/conf/vboxadm.conf.dist /etc/vboxadm/vboxadm.conf && chmod 0644 /etc/vboxadm/vboxadm.conf
EXPOSE 80
EXPOSE 443
CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]