mirror of
https://github.com/Icinga/docker-icingaweb2.git
synced 2026-05-05 19:06:12 +02:00
Run as root
This commit is contained in:
parent
a700df6340
commit
9ebbb83dcb
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user