From 9ebbb83dcb28e09ed1bfbaf0bf5d127c0b341535 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 15 Feb 2023 14:52:18 +0100 Subject: [PATCH] Run as root --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 79f2e6c..6695495 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,5 @@ COPY php.ini /etc/php/7.4/cli/conf.d/99-docker.ini RUN ["ln", "-vs", "/usr/share/icingaweb2/bin/icingacli", "/usr/local/bin/"] RUN ["icingacli", "setup", "config", "webserver", "apache", "--path=/", "--file=/etc/apache2/conf-enabled/icingaweb2.conf"] -USER www-data ENV ICINGAWEB_OFFICIAL_DOCKER_IMAGE 1 CMD ["bash", "-eo", "pipefail", "-c", ". /etc/apache2/envvars; exec apache2 -DFOREGROUND"]