aegir-project / dockerfiles

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

Make Hostmaster container upgradable. #15

Closed jonpugh closed 7 years ago

jonpugh commented 8 years ago

This PR changes the file layout of the home folder so that /var/aegir/hostmaster is the path.

This is so subsequent container versions can replace those files.

I've altered the entrypoint.sh script to check for an active hostmaster, and if it's there, immediately run drush updb on it. This will allow easy container based upgrades to Aegir.

It seems to work pretty well!

See this commit for a detailed description of what changed: https://github.com/aegir-project/dockerfiles/commit/3495fdc7cc2376ba0e194a681486accaca6a52f7