From 562e4772cd0c995e8e37eedc0e9413730537e4eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 7 Dec 2025 14:30:56 +0000 Subject: [PATCH] Add --no-dev flag to composer require to prevent dev packages installation Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> --- .docker/frankenphp/docker-entrypoint.sh | 2 +- .docker/partdb-entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/frankenphp/docker-entrypoint.sh b/.docker/frankenphp/docker-entrypoint.sh index 0aaf6674..582793ae 100644 --- a/.docker/frankenphp/docker-entrypoint.sh +++ b/.docker/frankenphp/docker-entrypoint.sh @@ -32,7 +32,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then # Note: COMPOSER_EXTRA_PACKAGES is intentionally not quoted to allow word splitting # This enables passing multiple package names separated by spaces # shellcheck disable=SC2086 - composer require $COMPOSER_EXTRA_PACKAGES --no-interaction --no-progress --optimize-autoloader + composer require $COMPOSER_EXTRA_PACKAGES --no-dev --no-interaction --no-progress --optimize-autoloader if [ $? -eq 0 ]; then echo "Successfully installed additional composer packages" else diff --git a/.docker/partdb-entrypoint.sh b/.docker/partdb-entrypoint.sh index 745fccd4..7f49b505 100644 --- a/.docker/partdb-entrypoint.sh +++ b/.docker/partdb-entrypoint.sh @@ -45,7 +45,7 @@ if [ -n "$COMPOSER_EXTRA_PACKAGES" ]; then # Note: COMPOSER_EXTRA_PACKAGES is intentionally not quoted to allow word splitting # This enables passing multiple package names separated by spaces # shellcheck disable=SC2086 - sudo -E -u www-data composer require $COMPOSER_EXTRA_PACKAGES --no-interaction --no-progress --optimize-autoloader + sudo -E -u www-data composer require $COMPOSER_EXTRA_PACKAGES --no-dev --no-interaction --no-progress --optimize-autoloader if [ $? -eq 0 ]; then echo "Successfully installed additional composer packages" else