keycloak/quarkus/container
Václav Muzikář 5c062a9e59
Downgrade server container image back to OpenJDK 21 (#46813)
* Downgrade server container image back to OpenJDK 21

Closes #46812

Signed-off-by: Václav Muzikář <vmuzikar@ibm.com>

* Remove JDK downgrade note, rename attribute

Signed-off-by: Václav Muzikář <vmuzikar@ibm.com>

---------

Signed-off-by: Václav Muzikář <vmuzikar@ibm.com>
2026-03-10 14:26:11 +01:00
..
.gitignore Update default distribution to Quarkus (#9839) 2022-02-01 09:42:09 +01:00
Dockerfile Downgrade server container image back to OpenJDK 21 (#46813) 2026-03-10 14:26:11 +01:00
README.md Only the version is needed to build the Docker image. (#38418) 2025-04-01 12:06:41 +02:00
ubi-null.sh Make shebang in bash scripts consistent (#37369) 2026-02-17 11:32:28 +01:00

Keycloak Image

For more information, see the Running Keycloak in a container guide.

Build the image

It is possible to download the Keycloak distribution from GitHub:

docker build --build-arg KEYCLOAK_VERSION=<VERSION> -t <YOUR_TAG> .

It is possible to download the Keycloak distribution from a URL:

docker build --build-arg KEYCLOAK_DIST=http://<HOST>:<PORT>/keycloak-<VERSION>.tar.gz -t <YOUR_TAG> .

Alternatively, you need to build the local distribution first, then copy the distributions tar package in the container folder and point the build command to use the image:

cp $KEYCLOAK_SOURCE/quarkus/dist/target/keycloak-<VERSION>.tar.gz .
docker build --build-arg KEYCLOAK_DIST=keycloak-<VERSION>.tar.gz -t <YOUR_TAG> .