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