Skip to content

Commit

Permalink
chore: support SYMFONY_REQUIRE in local docker env
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbrault committed Jan 3, 2023
1 parent a487954 commit f2754a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ RUN sudo apt-get update \
&& sudo apt-get install -y make \
&& sudo rm -rf /var/lib/apt/lists/*

# Install symfony/flex for SYMFONY_REQUIRE
RUN composer global config --no-plugins allow-plugins.symfony/flex true \
&& composer global require --no-progress --no-scripts --no-plugins symfony/flex

ENV PATH="${PATH}:/usr/src/app/vendor/bin"

0 comments on commit f2754a6

Please sign in to comment.