Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Drupal CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
GitLab Drupal CI
Commits
51fcf767
Commit
51fcf767
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
composer/plugin/docker4drupal#41
Don't use root for Drush commands
parent
28f2f5e4
No related branches found
Branches containing commit
Tags
v1.6.1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/drush
+1
-1
1 addition, 1 deletion
bin/drush
bin/rector
+1
-1
1 addition, 1 deletion
bin/rector
with
2 additions
and
2 deletions
bin/drush
+
1
−
1
View file @
51fcf767
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
bin/rector
+
1
−
1
View file @
51fcf767
#!/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
"
$@
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment