Skip to content

Commit

Permalink
Bump Composer to 1.10.20 and 2.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lemaitre committed Feb 25, 2021
1 parent acc3041 commit a040c3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions 7.0/stretch/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ RUN pecl install redis-3.1.5 \
&& pecl clear-cache

# Install Composer
COPY --from=composer:1.10.19 /usr/bin/composer /usr/bin/composer

# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
ENV COMPOSER_ALLOW_SUPERUSER 1
COPY --from=composer:1.10.20 /usr/bin/composer /usr/bin/composer

# Add custom PHP configuration
COPY php-custom.ini $PHP_INI_DIR/conf.d/

Expand Down
3 changes: 1 addition & 2 deletions 7.3/stretch/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ RUN pecl install redis-3.1.5 \
&& docker-php-ext-enable redis \
&& pecl clear-cache


# Install Composer
ENV COMPOSER_ALLOW_SUPERUSER 1
COPY --from=composer:1.6.5 /usr/bin/composer /usr/bin/composer
COPY --from=composer:1.10.20 /usr/bin/composer /usr/bin/composer

# Add custom PHP configuration
COPY php-custom.ini $PHP_INI_DIR/conf.d/
Expand Down
2 changes: 1 addition & 1 deletion 7.4/buster/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN pecl install redis-5.3.2 \

# Install Composer
ENV COMPOSER_ALLOW_SUPERUSER 1
COPY --from=composer:2.0.9 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.0.10 /usr/bin/composer /usr/bin/composer

# Add custom PHP configuration
COPY php-custom.ini $PHP_INI_DIR/conf.d/
Expand Down

0 comments on commit a040c3f

Please sign in to comment.