Skip to content

Commit

Permalink
fix Composer\Plugin\PluginBlockedException (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Jan 24, 2025
1 parent e830fb6 commit e11090a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ RUN docker-php-ext-install pdo_mysql
COPY --from=composer:2.2 /usr/bin/composer /usr/local/bin/composer

RUN echo "{}" > composer.local.json && \
COMPOSER=composer.local.json composer config --no-plugins allow-plugins.wikimedia/composer-merge-plugin true
COMPOSER=composer.local.json composer config --no-plugins allow-plugins.wikimedia/composer-merge-plugin true && \
COMPOSER=composer.local.json composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true

RUN composer update

Expand Down Expand Up @@ -68,4 +69,4 @@ RUN echo 'xdebug.mode=coverage' >> /usr/local/etc/php/conf.d/99-xdebug.ini
# Install required php extensions (required for CI)
RUN docker-php-ext-install pgsql

RUN composer update
RUN composer update

0 comments on commit e11090a

Please sign in to comment.