-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
44 lines (39 loc) · 1.1 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
FROM httpd:2.4
# Dependencies
RUN apt-get update && apt-get upgrade -y
RUN 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
COPY . /usr/local/apache2/htdocs/SequenceCenter/
# Deploy shock.cgi - maintain backwards compatibility
RUN cp /usr/local/apache2/htdocs/SequenceCenter/cgi-bin/shock.cgi /usr/local/apache2/htdocs/SequenceCenter/authServer/cgi-bin/
# done - maintain backwards compatibility
RUN ( cd /usr/local/apache2/htdocs ; ln -s SequenceCenter/authServer . )
COPY httpd.conf /usr/local/apache2/conf/