Skip to content

Commit

Permalink
Allow superuser for composer during vendor installation
Browse files Browse the repository at this point in the history
Otherwise, the build step may fail, because Docker provisions as super-user.
  • Loading branch information
XedinUnknown committed Oct 13, 2023
1 parent 179d0c5 commit 5f762dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile_wp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ FROM build as vendor-dev
ARG BUILD_ROOT_PATH

WORKDIR ${BUILD_ROOT_PATH}
RUN make build
RUN COMPOSER_ALLOW_SUPERUSER=1 make build


# WordPress for development
Expand Down

0 comments on commit 5f762dd

Please sign in to comment.