XWiki Extensions @ Docker

Hi @ all,
I’ve read the highly relevant topic https://forum.xwiki.org/t/managing-configuration-changes-when-upgrading-xwiki-using-docker/3631. At the moment I have only one question:

Can extensions be installated automatically (e.g. docker compose)?
How will it work when upgrading?

Thanks a lot!

By using the xwiki REST API related to jobs, yes: https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiRESTfulAPI#HJobresources

You could also check how it’s done in xwiki-platform/xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/ExtensionInstaller.java at 55433f314d1a53b096c2ad2c38c2885ac67ba10d · xwiki/xwiki-platform · GitHub (but it’s in Java).

XWiki’s Extension Manager handles that. See: https://extensions.xwiki.org/xwiki/bin/view/Extension/Extension%20Manager%20Application

Thank you, Vincent. I’ll check that.