You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find this practical because the container setup sometimes takes to long to install all the needed dev tools.
With manual scripts one can start working and let the scripts to install all thats needed.
also usefull so one can isntall devtools when the container itself needs debugging and devtoosl cannot be isntalled from entrypoint.sh
Factoring out the scripts that install development tools for reuse. Everything that moves implementation detail into separate files and only keeps an (if file exists run file: foo.sh) block in the entrypoint is good.
How to run the development script. At the moment we have a switch for development mode that does two things: autoloader config for either production optimized or development optimized. Install some default extra packages. And we have an additional variable that allows to install extra software. We should not make it too complicated.
If the user wants the production setup and sets variable to no, he can still install the development tools later.
If the user wants the development setup and sets the variable to yes, he should get that. If waiting for development tools is too long, running the install script in the background (with &) may be the solution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I find this practical because the container setup sometimes takes to long to install all the needed dev tools.
With manual scripts one can start working and let the scripts to install all thats needed.