grim/containers/apache2-trac
Clone
Summary
Browse
Changes
Graph
Add some additional configuration to make sure we don't log to disk
draft
2021-05-03, Gary Kramlich
185238c6fd61
Add some additional configuration to make sure we don't log to disk
FROM
debian:buster
MAINTAINER
Gary Kramlich <grim@reaperworld.com>
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
\
vim
wget
\
apache2
libapache2-mod-wsgi
libapache2-mod-xsendfile
\
trac
\
&&
\
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"
]