removed drush launcher

This commit is contained in:
Bachir Soussi Chiadmi 2024-02-23 16:42:47 +01:00
parent d6edefcc2a
commit 8b6958f226
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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