Skip to content

InformaticsMatters/docker-keycloak

Repository files navigation

The InformaticsMatters keycloak container image

GitHub tag (latest by date)

build release

A specialised build of keycloak used by a number of InformaticsMatters projects.

Refer to to the keycloak container documentation for background information.

Building and pushing

To build and push using the currently endorsed keyclock base image...

docker build . -t informaticsmatters/keycloak:stable
docker push informaticsmatters/keycloak:stable

To build and push using a specific keycloak base image, like 26.0.5...

KEYCLOAK_VERSION=26.0.5
docker build . -t informaticsmatters/keycloak:${KEYCLOAK_VERSION} \
    --build-arg KEYCLOAK_VERSION=${KEYCLOAK_VERSION}
docker push informaticsmatters/keycloak:${KEYCLOAK_VERSION}

Theme development

A docker compose file is provided to allow you to run a keycloak instance with a database and a volume mounted for theme development. The compose file will start a keycloak instance with a postgres database. For further information and basic instruction on getting started read the comments inside the theme development docker compose file: -

  • docker-compose-theme-development.yaml

And, for instructions on how to develop themes, read the Keycloak theme development documentation.