Skip to content

Commit

Permalink
Merge pull request #12 from andrewnicols/allowPluginsDuringComposerBuild
Browse files Browse the repository at this point in the history
Allow plugins during composer build
  • Loading branch information
davewoloszyn authored Jun 4, 2024
2 parents 156d7a2 + e153fe5 commit 184b7b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ LABEL maintainer="Stevani Andolo <[email protected]>" \

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
Expand Down

0 comments on commit 184b7b8

Please sign in to comment.