Replies: 2 comments 9 replies
-
|
Please take a look at https://stackoverflow.com/questions/61870801/add-global-phpcs-and-drupal-coder-to-ddev-in-custom-dockerfile and see if it answers your question and solves the problem. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run
composer global require ...and have the package binaries that get brought down available to the user of the container. So, after addev startI should be able to runddev exec custom-composer-binaryand the binary present in/home/username/.composer/vendor/binshould be available in username'sPATH.I tried adding:
Only to find that DDEV adds it in the compiled Dockerfile before its standard user creation command. This is the result in
.webimageBuild/Dockerfile:Is there a way to prevent DDEV from appending that snippet altogether? And then I could just add the snippet it wants, just in the proper order. This is really frustrating. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions