From 5690c87fd75e15246d59a2ea5e084eaabdacdafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Vi=C3=A8s?= <4450519+jvies@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:46:56 +0100 Subject: [PATCH] add woreks/humhub-auth-oidc --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ec085992..209c0766 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ ARG HUMHUB_VERSION +ARG HUMHUB_OIDC_VERSION="~0.3" ARG VCS_REF ARG BUILD_DEPS="\ ca-certificates \ @@ -67,6 +68,7 @@ ARG RUNTIME_DEPS="\ FROM docker.io/library/alpine:3.18.4 as builder ARG HUMHUB_VERSION +ARG HUMHUB_OIDC_VERSION ARG BUILD_DEPS RUN apk add --no-cache --update $BUILD_DEPS && \ @@ -80,6 +82,7 @@ RUN tar xzf v${HUMHUB_VERSION}.tar.gz && \ WORKDIR /usr/src/humhub +RUN composer require worteks/humhub-auth-oidc:${HUMHUB_OIDC_VERSION} RUN composer config --no-plugins allow-plugins.yiisoft/yii2-composer true && \ composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader && \ chmod +x protected/yii && \