Skip to content

Commit 184b7b8

Browse files
authored
Merge pull request #12 from andrewnicols/allowPluginsDuringComposerBuild
Allow plugins during composer build
2 parents 156d7a2 + e153fe5 commit 184b7b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ LABEL maintainer="Stevani Andolo <[email protected]>" \
55

66
ARG TARGETPLATFORM
77
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
8+
9+
# Allow composer to run plugins during build.
10+
# https://github.com/composer/composer/issues/11839
11+
ENV COMPOSER_ALLOW_SUPERUSER=1
12+
813
RUN echo "Building for ${TARGETPLATFORM}"
914

1015
EXPOSE 80

0 commit comments

Comments
 (0)