keycloak-scim/quarkus/container
Alexander Nikolaev 41c86040a4
Fix docker image building. (#28809)
Signed-off-by: Alexander Nikolaev <zvava@ya.ru>
2024-05-15 10:18:42 +02:00
..
.gitignore
Dockerfile fix: add / clean labels on community images (#28760) 2024-04-25 11:48:13 +02:00
README.md Fix docker image building. (#28809) 2024-05-15 10:18:42 +02:00
ubi-null.sh Fix docker image building. (#28809) 2024-05-15 10:18:42 +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 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> .