Skip to content
Snippets Groups Projects
Commit 51fcf767 authored by jurgenhaas's avatar jurgenhaas
Browse files

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

parent 28f2f5e4
No related branches found
Tags v1.6.1
No related merge requests found
......@@ -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 "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment