From 8b6958f22609a0810ba8bae3d2b71e891d18932c Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 23 Feb 2024 16:42:47 +0100 Subject: [PATCH] removed drush launcher --- Docker/php-8.1-fpm/Dockerfile | 8 ++++---- Makefile | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Docker/php-8.1-fpm/Dockerfile b/Docker/php-8.1-fpm/Dockerfile index 7b1c5d2..89d9720 100644 --- a/Docker/php-8.1-fpm/Dockerfile +++ b/Docker/php-8.1-fpm/Dockerfile @@ -27,10 +27,10 @@ RUN pecl install xdebug-3.2.1 && \ RUN export COMPOSER_HOME=/usr/local/composer && \ curl -sS https://getcomposer.org/installer \ - | php -- --install-dir=/usr/local/bin --filename=composer && \ - curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \ - -L -o /usr/local/bin/drush && \ - chmod +x /usr/local/bin/drush + | php -- --install-dir=/usr/local/bin --filename=composer + # curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \ + # -L -o /usr/local/bin/drush && \ + # chmod +x /usr/local/bin/drush RUN apt-get install -y rsyslog COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf diff --git a/Makefile b/Makefile index 0a3fccf..0367056 100644 --- a/Makefile +++ b/Makefile @@ -38,25 +38,25 @@ logs: maj_config: crd composer_install updb cim cr pag #dev.phpmyadmin.q2d.fr crd: - docker exec q2d-php-1 /bin/bash -c "drush cache-clear drush" + docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush cache-clear drush" composer_install: docker exec q2d-php-1 /bin/bash -c "composer install --no-dev" updb: - docker exec q2d-php-1 /bin/bash -c "drush updb -y" + docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush updb -y" cim: - docker exec q2d-php-1 /bin/bash -c "drush config-import -y" + docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush config-import -y" # sync_struct: -# docker exec q2d-php-1 /bin/bash -c "drush im --choice safe && drush ib --choice full" +# docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush im --choice safe && drush ib --choice full" cr: - docker exec q2d-php-1 /bin/bash -c "drush cr" + docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush cr" pag: - docker exec q2d-php-1 /bin/bash -c "drush pag all canonical_entities:node && drush pag all canonical_entities:taxonomy_term" + docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush pag all canonical_entities:node && vendor/bin/drush pag all canonical_entities:taxonomy_term" restart_nginx: docker-compose restart nginx