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
-
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 start
I should be able to runddev exec custom-composer-binary
and the binary present in/home/username/.composer/vendor/bin
should 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