Skip to content

Commit

Permalink
use builtin composer install from mlocati
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Dec 11, 2024
1 parent 8ab980d commit 1c0414f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions 8.2-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ RUN apt-get update -qq && \
gnupg \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# PHP Extensions
RUN install-php-extensions opcache pdo_mysql
RUN install-php-extensions @composer opcache pdo_mysql

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY --link conf/php.ini $PHP_INI_DIR/conf.d/app.ini
Expand Down
3 changes: 1 addition & 2 deletions 8.3-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ RUN apt-get update -qq && \
gnupg \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# PHP Extensions
RUN install-php-extensions opcache pdo_mysql
RUN install-php-extensions @composer opcache pdo_mysql

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY --link conf/php.ini $PHP_INI_DIR/conf.d/app.ini
Expand Down

0 comments on commit 1c0414f

Please sign in to comment.