From ec97f1b7bd1dd6377f113a4b385298a4fa92ad14 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Tue, 25 Mar 2025 08:43:28 +0100 Subject: [PATCH] Add debian rules --- debian/rules | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 98e5d1b..a3f0ce7 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,9 @@ override_dh_auto_build: cd api; \ rm -rf var/cache/*; \ - COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer update; \ - COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer install; \ - COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer dump-env prod; \ - COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer update doctrine/dbal; + mkdir -p bin/; \ + COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer require symfony/flex --no-interaction; \ + COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer update --no-interaction; \ + COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer install --no-interaction; \ + COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer dump-env prod --no-interaction; \ + COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer update doctrine/dbal --no-interaction; \