fix: ensure releases take docker-based installation into account when updating version numbers

This commit is contained in:
Jose Diaz-Gonzalez
2019-05-13 03:40:28 -04:00
parent 98bf4b7b31
commit 6fe984fd3c
5 changed files with 24 additions and 22 deletions

View File

@@ -31,6 +31,17 @@ main() {
find "$dir" -print0 | xargs -0 chown -h dokku:dokku
fi
done
if [[ -f /mount/plugin-list ]]; then
while read line; do
dokku plugin:install "$(echo "$line" | awk '{print $2}')" "$(echo "$line" | cut -d':' -f1)"
done </mount/plugin-list
fi
if [[ -n "$DOKKU_HOSTNAME" ]]; then
echo "dokku dokku/vhost_enable boolean true" | debconf-set-selections
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"
fi
}
main "$@"