icingaweb (2.14.0.nwe.1)
Published 2026-08-12 07:59:50 +02:00 by jochen
Installation
docker pull git.bocc.de/jochen/icingaweb:2.14.0.nwe.1sha256:006e265a45b5d57c782fb43d6f9701ec59d5bb7d38192d71d4b213dff51fc96aImage layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800' |
| RUN bash -exo pipefail -c export DEBIAN_FRONTEND=noninteractive; apt-get update; apt-get upgrade -y; apt-get install --no-install-{recommends,suggests} -y apache2 ca-certificates libapache2-mod-php8.2 libldap-common locales-all php-{imagick,redis} php8.2-{bcmath,bz2,common,curl,dba,enchant,gd,gmp,imap,interbase,intl,ldap,mbstring,mysql,odbc,opcache,pgsql,pspell,readline,snmp,soap,sqlite3,sybase,tidy,xml,xmlrpc,xsl,zip}; apt-get clean; rm -vrf /var/lib/apt/lists/* # buildkit |
| COPY /entrypoint/entrypoint /entrypoint # buildkit |
| COPY entrypoint/db-init /entrypoint-db-init # buildkit |
| RUN a2enmod rewrite # buildkit |
| RUN ln -vsf /dev/stdout /var/log/apache2/access.log # buildkit |
| RUN ln -vsf /dev/stderr /var/log/apache2/error.log # buildkit |
| RUN ln -vsf /dev/stdout /var/log/apache2/other_vhosts_access.log # buildkit |
| RUN perl -pi -e if (/Listen/) { s/80/8080/ } /etc/apache2/ports.conf # buildkit |
| RUN perl -pi -e if (/VirtualHost/) { s/80/8080/ } /etc/apache2/sites-available/000-default.conf # buildkit |
| EXPOSE [8080/tcp] |
| RUN chmod -R u=rwX,go=rX /entrypoint-db-init # buildkit |
| RUN chmod o+x /var/log/apache2 # buildkit |
| RUN chown www-data:www-data /var/run/apache2 # buildkit |
| RUN ln -vs /data/etc/icingaweb2 /etc/icingaweb2 # buildkit |
| RUN ln -vs /data/var/lib/icingaweb2 /var/lib/icingaweb2 # buildkit |
| RUN install -o www-data -g www-data -d /data # buildkit |
| ENTRYPOINT ["/entrypoint"] |
| COPY /usr-share/. /usr/share/ # buildkit |
| COPY php.ini /etc/php/8.2/cli/conf.d/99-docker.ini # buildkit |
| RUN ln -vs /usr/share/icingaweb2/bin/icingacli /usr/local/bin/ # buildkit |
| RUN icingacli setup config webserver apache --path=/ --file=/etc/apache2/conf-enabled/icingaweb2.conf # buildkit |
| RUN /bin/sh -c echo 'SetEnvIf X-REMOTE-USER "(.*)" REMOTE_USER=$0' > /etc/apache2/conf-enabled/allow-remote-user.conf # buildkit |
| USER www-data |
| ENV ICINGAWEB_OFFICIAL_DOCKER_IMAGE=1 |
| CMD ["bash" "-eo" "pipefail" "-c" ". /etc/apache2/envvars; exec apache2 -DFOREGROUND"] |
| USER root |
| ARG GRAFANA_VERSION=2.0.3 |
| ADD https://github.com/Mikesch-mp/icingaweb2-module-grafana/archive/refs/tags/v2.0.3.tar.gz /tmp/ # buildkit |
| ADD grafana.patch /tmp/ # buildkit |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c apt update # buildkit |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c apt install patch # buildkit |
| WORKDIR /usr/share/icingaweb2/modules |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c tar xzf /tmp/v${GRAFANA_VERSION}.tar.gz # buildkit |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c mv icingaweb2-module-grafana-${GRAFANA_VERSION} grafana # buildkit |
| WORKDIR /usr/share/icingaweb2/modules/grafana |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c patch -p1 < /tmp/grafana.patch # buildkit |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c ln -s /data/ssl/ssl-site.conf /etc/apache2/sites-enabled/ssl-site.conf # buildkit |
| WORKDIR /etc/apache2/mods-enabled |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c ln -s ../mods-available/ssl* . # buildkit |
| RUN |1 GRAFANA_VERSION=2.0.3 /bin/sh -c ln -s ../mods-available/socache_shmcb.load . # buildkit |
| USER www-data |
| WORKDIR / |
Details
2026-08-12 07:59:50 +02:00
Versions (1)
View all
Container
1
OCI / Docker
linux/amd64
247 MiB
2.14.0.nwe.1
2026-08-12