We have a support strategy for DBs, Servlet Containers and Browsers. We’re missing one for LibreOffice.
I propose that we support one single version officially and that it be the LTS version. LO has a notion of LTS as defined on their download page: https://www.libreoffice.org/download/download/
For example right now it’s 6.2.8: " This version is slightly older and does not have the latest features, but it has been tested for longer. For business deployments, we strongly recommend support from certified partners which also offer long-term support versions of LibreOffice."
Technically we could implement this in the following way:
- In our Dockerfile, stop installing it with apt-get but download the .deb file and install it with dpkg.
- Example download URL: https://downloadarchive.documentfoundation.org/libreoffice/old/22.214.171.124/deb/x86_64/LibreOffice_126.96.36.199_Linux_x86-64_deb.tar.gz
- For reference, the code is at: https://github.com/xwiki/xwiki-platform/blob/f190fd05be9b7a654bf27496416dc6b4ea88c30a/xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/servletengine/ServletContainerExecutor.java#L264