Skip to content

Commit

Permalink
Allow plugins during composer build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jun 3, 2024
1 parent 156d7a2 commit e153fe5
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 e153fe5

Please sign in to comment.