keycloak-scim/quarkus/container
2023-04-21 08:32:29 +02:00
..
.gitignore
Dockerfile Use a valid SemVer format for the SNAPSHOT version (#17334) 2023-03-03 11:11:44 +01:00
README.md
ubi-null.sh Build the operator container via Dockerfile (#19642) 2023-04-21 08:32:29 +02: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 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 containers 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>