Skip to content

Commit

Permalink
Add missing jdk.net module to jlink base image #tigase/_server/serv…
Browse files Browse the repository at this point in the history
…er-core#1542
  • Loading branch information
woj-tek committed Sep 24, 2024
1 parent 974d7d8 commit 39d2407
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Since version 8.3.1 docker images are build using jib directly in the [main tigase distribution project](https://tigase.dev/tigase/_server/tigase-server/)!

In order to keep jlink functionality we do keep base image for JDK17 available in `jre-17/Dockerfile`
As described in "Building JRE 17 used by nightly builds" section it's possible to build it using:

```
docker buildx build --platform linux/amd64,linux/arm64 -t tigase/tigase-xmpp-server-base:17 -f jre-17/Dockerfile --no-cache jre-17 --push
```


-------

**LEGACY** Tigase's Docker package for the Tigase XMPP Server.
Expand Down
1 change: 1 addition & 0 deletions jre-17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN $JAVA_HOME/bin/jlink \
# java.scripting can probably removed after removing groovy
--add-modules java.scripting \
# required for WebSockets
--add-modules jdk.net \
--add-modules java.net.http \
# required for TLS
--add-modules jdk.crypto.ec \
Expand Down

0 comments on commit 39d2407

Please sign in to comment.