File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 41
41
"psr-4" : { "League\\ Bundle\\ OAuth2ServerBundle\\ Tests\\ " : " tests/" }
42
42
},
43
43
"config" : {
44
- "sort-packages" : true
44
+ "sort-packages" : true ,
45
+ "allow-plugins" : {
46
+ "bamarni/composer-bin-plugin" : true
47
+ }
45
48
},
46
49
"extra" : {
47
50
"branch-alias" : {
Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/app/bin -
48
48
RUN useradd -ms /bin/sh app
49
49
50
50
# Composer bin plugin
51
- RUN su-exec app composer global require --dev bamarni/composer-bin-plugin
51
+ RUN su-exec app composer global config --no-interaction allow-plugins.bamarni/composer-bin-plugin true \
52
+ && su-exec app composer global config --no-interaction allow-plugins.symfony/flex true \
53
+ && su-exec app composer global require --dev bamarni/composer-bin-plugin
52
54
53
55
# PHP-CS-Fixer
54
56
RUN su-exec app composer global bin php-cs-fixer require --dev friendsofphp/php-cs-fixer \
You can’t perform that action at this time.
0 commit comments