grim/containers/apache2-trac
Clone
Summary
Browse
Changes
Graph
Add python-psycopg2 to the image
draft
2021-05-03, Gary Kramlich
9e7a2a6b6e0a
Add python-psycopg2 to the image
FROM
debian:buster
MAINTAINER
Gary Kramlich <grim@reaperworld.com>
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
\
vim
wget
\
apache2
\
libapache2-mod-security2
libapache2-mod-wsgi
libapache2-mod-xsendfile
\
trac
python-psycopg2
\
&&
\
apt-get
clean
&&
\
rm
-rf
/var/lib/apt/lists/
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL
SIGWINCH
COPY
conf-available/*
/etc/apache2/conf-available/
COPY
apache2-foreground
/usr/local/bin/
RUN
set
-ex
&&
\
a2disconf
other-vhosts-access-log
&&
\
a2enconf
logging
EXPOSE
80
CMD
[
"apache2-foreground"
]