mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Only the version is needed to build the Docker image. (#38418)
Closes #38459 Signed-off-by: Alexander Nikolaev <zvava@ya.ru>
This commit is contained in:
parent
85737f52b5
commit
1e235088c3
@ -1,6 +1,6 @@
|
||||
FROM registry.access.redhat.com/ubi9 AS ubi-micro-build
|
||||
|
||||
ENV KEYCLOAK_VERSION 999.0.0-SNAPSHOT
|
||||
ARG KEYCLOAK_VERSION=999.0.0-SNAPSHOT
|
||||
ARG KEYCLOAK_DIST=https://github.com/keycloak/keycloak/releases/download/$KEYCLOAK_VERSION/keycloak-$KEYCLOAK_VERSION.tar.gz
|
||||
|
||||
RUN dnf install -y tar gzip
|
||||
|
||||
@ -3,6 +3,10 @@ For more information, see the [Running Keycloak in a container guide](https://ww
|
||||
|
||||
## Build the image
|
||||
|
||||
It is possible to download the Keycloak distribution from GitHub:
|
||||
|
||||
docker build --build-arg KEYCLOAK_VERSION=<VERSION> -t <YOUR_TAG> .
|
||||
|
||||
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> .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user