From bc95e866a35d473e0aa73a3fa73aefe5dd0c78f7 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 9 Jan 2019 10:19:42 +0100 Subject: [PATCH] new: [apache] updated version of apache, added http2. --- apache/build/Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/apache/build/Dockerfile b/apache/build/Dockerfile index 812a926..02618ff 100644 --- a/apache/build/Dockerfile +++ b/apache/build/Dockerfile @@ -1,4 +1,7 @@ -FROM docker.0k.io/apache:carif +## copy of 'php:7.3-apache' image +## XXXvlab: will need to move towards separate apache and php, so that nginx can +## replace apache in all conf. +FROM docker.0k.io/php:7.3-apache ## Limesurvey # RUN apt-get update && \ @@ -15,7 +18,9 @@ FROM docker.0k.io/apache:carif # rm -rf /var/lib/apt/lists/* # RUN docker-php-ext-install pgsql pdo_pgsql -RUN a2enmod headers proxy_http rewrite ssl proxy_wstunnel + +## XXXvlab: could load these in 'entrypoint.sh' to be more dynamic +RUN a2enmod headers proxy_http rewrite ssl proxy_wstunnel http2 ## Can remove this when SSL certificate are all valid ones RUN apt-get update && apt-get install -y --force-yes ssl-cert