remove errors
All checks were successful
web/dokuwiki/pipeline/head This commit looks good

This commit is contained in:
Julien Cabillot 2024-11-23 11:31:06 -05:00
parent b08ad17037
commit ad6f28e493

View File

@ -2,4 +2,6 @@ ARG VERSION="latest"
FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN curl -s -S -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar -zx --strip=1
RUN sed -i'' 's/error_reporting=.*/error_reporting=E_ERROR/' /usr/local/etc/php/conf.d/override.ini && \
echo 'display_errors = false' >> /usr/local/etc/php/conf.d/override.ini && \
su - www-data --shell /bin/bash --command="cd '/var/www/html'; curl -s -S -L 'https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz' | tar -zx --strip=1"