From 51fcf767abf958b98b0458cdba6978ff01d92cc5 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 12 Jan 2021 08:42:27 +0100 Subject: [PATCH] composer/plugin/docker4drupal#41 Don't use root for Drush commands --- bin/drush | 2 +- bin/rector | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/drush b/bin/drush index 8b92d02..d28deb8 100755 --- a/bin/drush +++ b/bin/drush @@ -4,7 +4,7 @@ function setPermissions { chmod -R g+w . } -docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} --user root php drush $@ +docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} php drush $@ if [[ "$1" == "gen" ]]; then setPermissions diff --git a/bin/rector b/bin/rector index 0ebfe8f..18319e1 100755 --- a/bin/rector +++ b/bin/rector @@ -1,3 +1,3 @@ #!/bin/bash -docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} --user root php /var/www/html/vendor/bin/rector "$@" +docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} php /var/www/html/vendor/bin/rector "$@" -- GitLab