-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
53 lines (41 loc) · 1.09 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
# docker build -t mgrast/authserver .
# docker rm authserver ; docker run -d --name authserver -p 7000:80 mgrast/authserver
FROM httpd:2.4
# Dependencies
RUN apt-get update && apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
make \
perl-modules \
liburi-perl \
liburi-encode-perl \
libwww-perl \
libjson-perl \
libdbi-perl \
libdbd-mysql-perl \
libdbd-sqlite3-perl \
libdigest-md5-perl \
libfile-slurp-perl \
libhtml-strip-perl \
liblist-moreutils-perl \
libcache-memcached-perl \
libhtml-template-perl \
libdigest-md5-perl \
libdigest-md5-file-perl \
libdatetime-perl \
libdatetime-format-iso8601-perl \
liblist-allutils-perl \
libposix-strptime-perl \
libuuid-tiny-perl \
libmongodb-perl \
libfreezethaw-perl \
libtemplate-perl \
libclass-isa-perl
RUN apt-get install -y \
vim
ENV PERL_MM_USE_DEFAULT 1
#RUN mkdir -p /db && chmod a+w /db
#COPY user.db /db/user.db
#RUN chmod a+w /db/user.db
COPY httpd.conf /usr/local/apache2/conf/
COPY ./html /usr/local/apache2/htdocs/
COPY ./cgi-bin /usr/local/apache2/cgi-bin/