Commit 51fcf767 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

composer/plugin/docker4drupal#41 Don't use root for Drush commands

parent 28f2f5e4
......@@ -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
......
#!/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 "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment