Skip to content

Commit cfc21be

Browse files
committed
chore: support SYMFONY_REQUIRE in local docker env
1 parent 4de52e2 commit cfc21be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ RUN sudo apt-get update \
77
&& sudo apt-get install -y make \
88
&& sudo rm -rf /var/lib/apt/lists/*
99

10+
# Install symfony/flex for SYMFONY_REQUIRE
11+
RUN composer global config --no-plugins allow-plugins.symfony/flex true \
12+
&& composer global require --no-progress --no-scripts --no-plugins symfony/flex
13+
1014
ENV PATH="${PATH}:/usr/src/app/vendor/bin"

0 commit comments

Comments
 (0)