373b5c1d9f
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz> Closes #20010 Closes #19080 Closes #17476 Closes #19286 Closes #17557 Closes #17556 Closes #17555 Closes #17475 Closes #15879 Closes #15878
13 lines
659 B
Markdown
13 lines
659 B
Markdown
# Keycloak Image
|
|
For more information, see the [Running Keycloak in a container guide](https://www.keycloak.org/server/containers).
|
|
|
|
## 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>
|