openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit c126ab0445577632476bb76bd7376e0d2f209212
parent 31ab989c52f393d319953e75e00bb073e0e1630c
Author: Jan Dankert <develop@jandankert.de>
Date:   Tue,  1 Oct 2019 00:31:57 +0200

New: Install Git, HTTP/2 active

Diffstat:
Dockerfile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -6,14 +6,16 @@ ENV DOCROOT=/var/www/localhost/htdocs RUN apk --update --no-cache add \ apache2 apache2-http2 \ - php7 php7-apache2 php7-session php7-pdo php7-pdo_mysql php7-pdo_pgsql php7-json php7-ftp php7-iconv php7-openssl && \ + php7 php7-apache2 php7-session php7-pdo php7-pdo_mysql php7-pdo_pgsql php7-json php7-ftp php7-iconv php7-openssl \ + git curl && \ sed -i '/LoadModule log_module/s/^/#/g' /etc/apache2/httpd.conf && \ sed -i 's/^Listen 80/Listen 8080/g' /etc/apache2/httpd.conf && \ chown apache /var/log/apache2 && \ chown apache /run/apache2 && \ rm -r $DOCROOT/* && \ mkdir -p /var/www/preview && chown apache /var/www/preview && \ - echo "Alias /preview /var/www/preview" >> /etc/apache2/httpd.conf + echo "Alias /preview /var/www/preview" >> /etc/apache2/httpd.conf && \ + echo "Protocols h2 h2c http/1.1" >> /etc/apache2/httpd.conf COPY . $DOCROOT