add oidc module
Some checks failed
build container icingaweb2 / build (push) Failing after -1h29m0s

This commit is contained in:
2025-10-01 16:31:30 +02:00
parent 6ad0ed98d2
commit b7a9ae7521

View File

@@ -35,9 +35,11 @@ RUN ["bash", "-exo", "pipefail", "-c", "\
apt clean all ; \
rm -vrf /var/lib/apt/lists/* "]
## install module grafana
ARG MODULE_VERSION="3.0.0"
## modules
ARG ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
### install module grafana
ARG MODULE_VERSION="3.1.1"
ARG REPO_URL="https://github.com/NETWAYS/icingaweb2-module-grafana"
ARG TARGET_DIR="${ICINGAWEB_MODULEPATH}/grafana"
ARG URL="${REPO_URL}/archive/v${MODULE_VERSION}.tar.gz"
@@ -46,6 +48,16 @@ RUN ["bash", "-exo", "pipefail", "-c", "\
wget -q -O - $URL | tar xfz - -C ${TARGET_DIR} --strip-components 1 ; \
"]
### install module for oidc
ARG MODULE_VERSION="0.6.9"
ARG REPO_URL="https://github.com/NETWAYS/icingaweb2-module-grafana"
ARG TARGET_DIR="${ICINGAWEB_MODULEPATH}/oidc"
ARG URL="${REPO_URL}/archive/v${MODULE_VERSION}.tar.gz"
RUN ["bash", "-exo", "pipefail", "-c", "\
install -d -m 0755 ${TARGET_DIR} ; \
wget -q -O - $URL | tar xfz - -C ${TARGET_DIR} --strip-components 1 ; \
"]
## create persistend data store
RUN ["bash", "-exo", "pipefail", "-c", "\
mkdir -p /data ; \