removed drush launcher
This commit is contained in:
parent
d6edefcc2a
commit
8b6958f226
|
@ -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
|
||||
|
|
12
Makefile
12
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
|
||||
|
|
Loading…
Reference in New Issue