aegir-project / dockerfiles

Official dockerfiles for Aegir.
https://hub.docker.com/r/aegir/hostmaster/
MIT License
21 stars 11 forks source link

Allow installation of additional modules through environment variables #43

Open PaulLebmann opened 6 years ago

PaulLebmann commented 6 years ago

Hi,

since I'm using boost on a D7 site, I recently realized, that during the migration to hostmaster on docker I lost my additional drush modules.

Since downloading modules in the form of drush dl --destination=/var/aegir/.drush/commands provision_boost module_2 ... works I'd like to propose the idea that one could use two environment variables $DRUSH_ADDITIONAL_MODULES and $HOSTMASTER_ADDITIONAL_MODULES which could be checked in docker-entrypoint.sh and accordingly downloaded after the download of provision and the installation section of the hostmaster.

Do you think this is possible / useful?

best regards