[xwiki/xwiki-docker] 6783f4: XDOCKER-176: Install libxtst6 and libxi6 so AWT/Im...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-docker Commit: 6783f4ff4fa44aef5175c4d07b6003799d2dbfca https://github.com/xwiki/xwiki-docker/commit/6783f4ff4fa44aef5175c4d07b60037... Author: Vincent Massol <[email protected]> Date: 2026-07-17 (Fri, 17 Jul 2026) Changed paths: M 16/mariadb-tomcat/Dockerfile M 16/mysql-tomcat/Dockerfile M 16/postgres-tomcat/Dockerfile M 17/mariadb-tomcat/Dockerfile M 17/mysql-tomcat/Dockerfile M 17/postgres-tomcat/Dockerfile M 18.4/mariadb-tomcat/Dockerfile M 18.4/mysql-tomcat/Dockerfile M 18.4/postgres-tomcat/Dockerfile M 18/mariadb-tomcat/Dockerfile M 18/mysql-tomcat/Dockerfile M 18/postgres-tomcat/Dockerfile M template/Dockerfile Log Message: ----------- XDOCKER-176: Install libxtst6 and libxi6 so AWT/ImageIO works in non-headless mode The JDK loads a different AWT backend native library depending on java.awt.headless: libawt_headless.so (headless, no X11 deps) or libawt_xawt.so (non-headless), and the latter hard-links libXtst.so.6 and libXi.so.6. Because LibreOffice is installed with --no-install-recommends, those two X11 libraries were not pulled in transitively, so in non-headless mode loading libawt_xawt.so failed with "UnsatisfiedLinkError: libXtst.so.6: cannot open shared object file", cascading into "NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO" when Solr/Tika indexes image attachments. Installing libxtst6 and libxi6 makes ImageIO work in both headless and non-headless modes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-docker/settings/notifications
participants (1)
-
XWiki Notifications