-
- add option to specify JDK version via env variable
- bump default JDK version to 21
- add
alpineflavoured base image as well astigase-serverimage (alpineprofile) - update readme
- bump groovy version to
3.0.24(supports up to JDK 24)
Alpine image is about 40% smaller:

And as a results Tigase image is about 25% smaller:

One annoying thing I found out was that, for some reason, we depend on
java.desktopmodule, which adds 15M to our images. Upon closer investigation turned out it's required byhttp-api, or rather by groovy that it uses:wojtek@atlantiscity.local ~/dev/tigase/tigase-server-distribution $ jdeps -v --multi-release 21 target/_dist-container/tigase-server-enterprise/tigase-server-enterprise/jars/tigase*.jar | grep desktop tigase-http-api.jar -> java.desktop tigase.http.coders.JsonCoder -> java.beans.Transient java.desktop tigase.http.coders.XmlCoder -> java.beans.Transient java.desktop tigase.http.modules.rest.HandlersLoader -> java.beans.Transient java.desktop tigase.http.modules.rest.OldGroovyRequestHandler -> java.beans.Transient java.desktop tigase.http.modules.rest.OldGroovyRequestHandler$1 -> java.beans.Transient java.desktop tigase.http.modules.rest.OldGroovyResultEncoder -> java.beans.Transient java.desktop tigase.http.rest.Handler -> java.beans.Transient java.desktop tigase.http.rest.Handler$Result -> java.beans.Transient java.desktopI guess we can't do much about it before we get rid of Groovy completely in tigase-server-9.0… ( @andrzej.wojcik ?)
-
Yes, it looks like it is coming from Groovy as all listed classes are groovy based or depend somehow on Groovy. I suppose we should just get rid of Groovy to fix this issue.
No, I mean it's definitely groovy:

What I meant was - we need to completely remove groovy support (and support for groovy handlers) thus, version 9.0…
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee | |
| Version |
none
|
| Sprints |
n/a
|
| Customer |
n/a
|
Iterations
-
tigase-server-8.5.0 Open
Issue Votes (0)
Java21 was release in September 2023 (almost 2 years ago) so it's "high time" and we should update to 21 (LTS) for tigase-server-8.5.0 to make the update to next LTS easier with tigase-server-9.0