From 1c0414f423584d9dd15ae69a2aafef081c922121 Mon Sep 17 00:00:00 2001 From: Guillaume Sainthillier Date: Wed, 11 Dec 2024 13:16:53 +0100 Subject: [PATCH] use builtin composer install from mlocati --- 8.2-frankenphp-bookworm/Dockerfile | 3 +-- 8.3-frankenphp-bookworm/Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/8.2-frankenphp-bookworm/Dockerfile b/8.2-frankenphp-bookworm/Dockerfile index b96e300..433a6a5 100644 --- a/8.2-frankenphp-bookworm/Dockerfile +++ b/8.2-frankenphp-bookworm/Dockerfile @@ -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 diff --git a/8.3-frankenphp-bookworm/Dockerfile b/8.3-frankenphp-bookworm/Dockerfile index d6b397a..d963a7b 100644 --- a/8.3-frankenphp-bookworm/Dockerfile +++ b/8.3-frankenphp-bookworm/Dockerfile @@ -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