Upgrade apache in the static web containers
This commit is contained in:
parent
5e5b8b5554
commit
5d5de27a68
@ -1,4 +1,5 @@
|
|||||||
FROM quay.io/perl/base-os:v3.4
|
FROM quay.io/perl/base-os:v3.8
|
||||||
|
ENV BUILD_VERSION 1
|
||||||
USER root
|
USER root
|
||||||
WORKDIR /web
|
WORKDIR /web
|
||||||
VOLUME /git
|
VOLUME /git
|
||||||
@ -10,7 +11,7 @@ RUN mv /etc/apache2/conf.d/proxy.conf /etc/apache2/conf.d/proxy.conf.disabled
|
|||||||
RUN ln -s /dev/stderr /var/log/apache2/error.log
|
RUN ln -s /dev/stderr /var/log/apache2/error.log
|
||||||
RUN ln -s /dev/stdout /var/log/apache2/access.log
|
RUN ln -s /dev/stdout /var/log/apache2/access.log
|
||||||
|
|
||||||
RUN mkdir -p /var/www/empty
|
RUN mkdir -p /var/www/empty; touch /var/www/empty/ok.txt
|
||||||
|
|
||||||
# allow configurations to mark requests as "don't log"
|
# allow configurations to mark requests as "don't log"
|
||||||
RUN perl -i -pe 's{^(\s+CustomLog logs/access.log combined)$}{$1 env=!dontlog};' /etc/apache2/httpd.conf
|
RUN perl -i -pe 's{^(\s+CustomLog logs/access.log combined)$}{$1 env=!dontlog};' /etc/apache2/httpd.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user