Fix docker image building. (#28809)

Signed-off-by: Alexander Nikolaev <zvava@ya.ru>
This commit is contained in:
Alexander Nikolaev 2024-05-15 11:18:42 +03:00 committed by GitHub
parent fee7503107
commit 41c86040a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,9 +5,9 @@ For more information, see the [Running Keycloak in a container guide](https://ww
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>
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>
docker build --build-arg KEYCLOAK_DIST=keycloak-<VERSION>.tar.gz -t <YOUR_TAG> .

0
quarkus/container/ubi-null.sh Normal file → Executable file
View file