keycloak-scim/quarkus/container
Alex Szczuczko 6319b462c7 Upgrade to ubi9 parent image
This PR switches the Quarkus Dockerfile to use `ubi9` parent images instead of `ubi8` ones.

ubi-null.sh has some minor changes to handle differences in RHEL 9. It's also been renamed.

Closes #17057
2023-02-14 09:46:58 +01:00
..
.gitignore Update default distribution to Quarkus (#9839) 2022-02-01 09:42:09 +01:00
Dockerfile Upgrade to ubi9 parent image 2023-02-14 09:46:58 +01:00
README.md Update README.md 2022-02-15 08:11:44 +01:00
ubi-null.sh Upgrade to ubi9 parent image 2023-02-14 09:46:58 +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 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>