Docker

icingaweb2 (latest)

Published 2025-10-01 17:13:14 +02:00 by svc-docker in docker/icingaweb2

Installation

docker pull git.ao-it.net/docker/icingaweb2:latest
sha256:9843cce914f0d16f5d4bc8e7599e25eb5eba42655c74953d86f03c4714a422da

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1759104000'
LABEL maintainer=docker@ao-it.net
RUN bash -exo pipefail -c export DEBIAN_FRONTEND=noninteractive ; apt update ; apt install -y wget gnupg python3 python3-mysqldb; wget -O - https://packages.icinga.com/icinga.key | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg ; source /etc/os-release ; echo "deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-${VERSION_CODENAME} main" > /etc/apt/sources.list.d/${VERSION_CODENAME}-icinga.list ; echo "deb-src [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-${VERSION_CODENAME} main" >> /etc/apt/sources.list.d/${VERSION_CODENAME}-icinga.list ; apt clean all ; rm -vrf /var/lib/apt/lists/* # buildkit
RUN bash -exo pipefail -c export DEBIAN_FRONTEND=noninteractive ; apt update ; apt install -y --no-install-{recommends,suggests} 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 clean all ; rm -vrf /var/lib/apt/lists/* # buildkit
RUN bash -exo pipefail -c export DEBIAN_FRONTEND=noninteractive ; apt update ; apt install -y icingaweb2 icingadb-web icingacli ; ln -vs /usr/share/icingaweb2/bin/icingacli /usr/local/bin/ ; rm -f /etc/apache2/conf-enabled/icingaweb2.conf ; icingacli setup config webserver apache --path=/ --file=/etc/apache2/conf-enabled/icingaweb2.conf ; echo 'SetEnvIf X-REMOTE-USER "(.*)" REMOTE_USER=$0' > /etc/apache2/conf-enabled/allow-remote-user.conf ; apt clean all ; rm -vrf /var/lib/apt/lists/* # buildkit
ARG ICINGAWEB_MODULEPATH=/usr/share/icingaweb2/modules
ARG MODULE_VERSION=3.1.1
ARG REPO_URL=https://github.com/NETWAYS/icingaweb2-module-grafana
ARG TARGET_DIR=/usr/share/icingaweb2/modules/grafana
ARG URL=https://github.com/NETWAYS/icingaweb2-module-grafana/archive/v3.1.1.tar.gz
RUN |5 ICINGAWEB_MODULEPATH=/usr/share/icingaweb2/modules MODULE_VERSION=3.1.1 REPO_URL=https://github.com/NETWAYS/icingaweb2-module-grafana TARGET_DIR=/usr/share/icingaweb2/modules/grafana URL=https://github.com/NETWAYS/icingaweb2-module-grafana/archive/v3.1.1.tar.gz bash -exo pipefail -c install -d -m 0755 ${TARGET_DIR} ; wget -q -O - $URL | tar xfz - -C ${TARGET_DIR} --strip-components 1 ; # buildkit
ARG MODULE_VERSION=0.6.9
ARG REPO_URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc
ARG TARGET_DIR=/usr/share/icingaweb2/modules/oidc
ARG URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc/archive/v0.6.9.tar.gz
RUN |5 ICINGAWEB_MODULEPATH=/usr/share/icingaweb2/modules MODULE_VERSION=0.6.9 REPO_URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc TARGET_DIR=/usr/share/icingaweb2/modules/oidc URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc/archive/v0.6.9.tar.gz bash -exo pipefail -c install -d -m 0755 ${TARGET_DIR} ; wget -q -O - $URL | tar xfz - -C ${TARGET_DIR} --strip-components 1 ; # buildkit
RUN |5 ICINGAWEB_MODULEPATH=/usr/share/icingaweb2/modules MODULE_VERSION=0.6.9 REPO_URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc TARGET_DIR=/usr/share/icingaweb2/modules/oidc URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc/archive/v0.6.9.tar.gz bash -exo pipefail -c mkdir -p /data ; mkdir -p /data-init/etc/ ; mkdir -p /data-init/usr/ ; mv /etc/icingaweb2 /data-init/etc/ ; mv /usr/share/icingaweb2 /data-init/usr/ ; ln -vs /data/etc/icingaweb2 /etc/icingaweb2 ; ln -vs /data/usr/icingaweb2 /usr/share/icingaweb2 ; # buildkit
RUN |5 ICINGAWEB_MODULEPATH=/usr/share/icingaweb2/modules MODULE_VERSION=0.6.9 REPO_URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc TARGET_DIR=/usr/share/icingaweb2/modules/oidc URL=https://github.com/RISE-GmbH/icingaweb2-module-oidc/archive/v0.6.9.tar.gz bash -exo pipefail -c ln -vsf /dev/stdout /var/log/apache2/access.log ; ln -vsf /dev/stderr /var/log/apache2/error.log ; ln -vsf /dev/stdout /var/log/apache2/other_vhosts_access.log # buildkit
EXPOSE map[8080/tcp:{}]
COPY init.sh /root/init.sh # buildkit
COPY conf_icingaweb2.py /root/conf_icingaweb2.py # buildkit
VOLUME [/data]
WORKDIR /data
USER root
ENTRYPOINT ["/bin/bash" "/root/init.sh"]
CMD ["/usr/sbin/apache2" "-DFOREGROUND"]

Labels

Key Value
maintainer docker@ao-it.net
Details
Container
2025-10-01 17:13:14 +02:00
18
OCI / Docker
linux/amd64
217 MiB
Versions (1) View all
latest 2025-10-01