mirror of
https://github.com/bitnami/containers.git
synced 2026-03-22 15:58:21 +08:00
11.0.3-debian-10-r27 release
This commit is contained in:
@@ -20,7 +20,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/keycloak/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="keycloak" \
|
||||
BITNAMI_IMAGE_VERSION="11.0.3-debian-10-r26" \
|
||||
BITNAMI_IMAGE_VERSION="11.0.3-debian-10-r27" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/java/bin:/opt/bitnami/keycloak/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
|
||||
@@ -32,6 +32,7 @@ keycloak_env_vars=(
|
||||
KEYCLOAK_JGROUPS_DISCOVERY_PROTOCOL
|
||||
KEYCLOAK_JGROUPS_DISCOVERY_PROPERTIES
|
||||
KEYCLOAK_JGROUPS_TRANSPORT_STACK
|
||||
KEYCLOAK_EXTRA_ARGS
|
||||
KEYCLOAK_ENABLE_STATISTICS
|
||||
KEYCLOAK_ENABLE_TLS
|
||||
KEYCLOAK_TLS_TRUSTSTORE_FILE
|
||||
@@ -113,6 +114,7 @@ KEYCLOAK_JGROUPS_DISCOVERY_PROPERTIES="${KEYCLOAK_JGROUPS_DISCOVERY_PROPERTIES:-
|
||||
export KEYCLOAK_JGROUPS_DISCOVERY_PROPERTIES="${KEYCLOAK_JGROUPS_DISCOVERY_PROPERTIES:-}"
|
||||
KEYCLOAK_JGROUPS_TRANSPORT_STACK="${KEYCLOAK_JGROUPS_TRANSPORT_STACK:-"${JGROUPS_TRANSPORT_STACK:-}"}"
|
||||
export KEYCLOAK_JGROUPS_TRANSPORT_STACK="${KEYCLOAK_JGROUPS_TRANSPORT_STACK:-tcp}"
|
||||
export KEYCLOAK_EXTRA_ARGS="${KEYCLOAK_EXTRA_ARGS:-}"
|
||||
export KEYCLOAK_ENABLE_STATISTICS="${KEYCLOAK_ENABLE_STATISTICS:-false}"
|
||||
export KEYCLOAK_ENABLE_TLS="${KEYCLOAK_ENABLE_TLS:-false}"
|
||||
export KEYCLOAK_TLS_TRUSTSTORE_FILE="${KEYCLOAK_TLS_TRUSTSTORE_FILE:-}"
|
||||
|
||||
@@ -21,6 +21,11 @@ conf_file="$(basename "${KEYCLOAK_CONF_FILE}")"
|
||||
start_command=("${KEYCLOAK_BIN_DIR}/standalone.sh" "-Djboss.bind.address=${KEYCLOAK_BIND_ADDRESS}" "-Djboss.bind.address.private=${KEYCLOAK_BIND_ADDRESS}" "-Dkeycloak.hostname.fixed.httpPort=${KEYCLOAK_HTTP_PORT}" "-c=${conf_file}" -b "0.0.0.0")
|
||||
is_boolean_yes "$KEYCLOAK_ENABLE_TLS" && start_command=("${start_command[@]}" "-Dkeycloak.hostname.fixed.httpsPort=${KEYCLOAK_HTTPS_PORT}")
|
||||
is_boolean_yes "$KEYCLOAK_ENABLE_STATISTICS" && start_command=("${start_command[@]}" "-Djboss.bind.address.management=0.0.0.0")
|
||||
# Add extra args
|
||||
if [[ -n "$KEYCLOAK_EXTRA_ARGS" ]]; then
|
||||
read -r -a extra_args <<<"$KEYCLOAK_EXTRA_ARGS"
|
||||
start_command+=("${extra_args[@]}")
|
||||
fi
|
||||
|
||||
if am_i_root; then
|
||||
exec gosu "$KEYCLOAK_DAEMON_USER" "${start_command[@]}"
|
||||
|
||||
@@ -34,7 +34,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`11`, `11-debian-10`, `11.0.3`, `11.0.3-debian-10-r26`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-keycloak/blob/11.0.3-debian-10-r26/11/debian-10/Dockerfile)
|
||||
* [`11`, `11-debian-10`, `11.0.3`, `11.0.3-debian-10-r27`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-keycloak/blob/11.0.3-debian-10-r27/11/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/keycloak GitHub repo](https://github.com/bitnami/bitnami-docker-keycloak).
|
||||
|
||||
@@ -88,6 +88,16 @@ The listening port and listening address can be configured with the following en
|
||||
- `KEYCLOAK_HTTPS_PORT`: Keycloak HTTPS port. Default: **8443**.
|
||||
- `KEYCLOAK_BIND_ADDRESS`: Keycloak bind address. Default: **0.0.0.0**.
|
||||
|
||||
## Extra arguments to Keycloak startup
|
||||
|
||||
In case you want to add extra flags to the Keycloak `standalone.sh` command, use the `KEYCLOAK_EXTRA_ARGS` variable. Example:
|
||||
|
||||
```console
|
||||
$ docker run --name keycloak \
|
||||
-e KEYCLOAK_EXTRA_ARGS="-Dkeycloak.profile.feature.scripts=enabled" \
|
||||
bitnami/keycloak:latest
|
||||
```
|
||||
|
||||
## Initializing a new instance
|
||||
|
||||
When the container is launched, it will execute the files with extension `.sh` located at `/docker-entrypoint-initdb.d`.
|
||||
|
||||
Reference in New Issue
Block a user