From e153fe58513cf66e437124a60a99becde353902d Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 4 Jun 2024 07:00:26 +0800 Subject: [PATCH] Allow plugins during composer build https://github.com/composer/composer/issues/11839 --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9f66e40..2b58aaa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,11 @@ LABEL maintainer="Stevani Andolo " \ ARG TARGETPLATFORM ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} + +# Allow composer to run plugins during build. +# https://github.com/composer/composer/issues/11839 +ENV COMPOSER_ALLOW_SUPERUSER=1 + RUN echo "Building for ${TARGETPLATFORM}" EXPOSE 80