11.0.3-debian-10-r18 release

This commit is contained in:
Bitnami Bot
2020-11-24 20:53:02 +00:00
parent 224d456aa8
commit 9fabd6cd01
4 changed files with 8 additions and 40 deletions

View File

@@ -9,10 +9,9 @@ ENV HOME="/" \
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages acl ca-certificates curl gzip libaio1 libc6 procps rsync tar zlib1g
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.9-1-0" --checksum ef5f22567fba8403553735c9fa26825e3aeb913ce7207b44bcbc336d6ada6b67
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wildfly" "20.0.1-4" --checksum 6231fc89704e5a70eff9eb509a3c61a3932073ee11ec3c48e5fe7095f8010ac6
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.0-3" --checksum 7521d9a4f9e4e182bf32977e234026caa7b03759799868335bccb1edd8f8fd12
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "keycloak" "11.0.3-0" --checksum d94c5f394448d2ea3cf127f8f2dd7df14090e4ea5b7a0f4324e9b6ddcf5e59f9
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.9-1-0" --checksum ef5f22567fba8403553735c9fa26825e3aeb913ce7207b44bcbc336d6ada6b67
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "keycloak" "11.0.3-1" --checksum bd279822dba2dc8ddf8c53c002ac9e4ebb0e38d213a7d6a4eb0230839fd5719c
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-2" --checksum 4d858ac600c38af8de454c27b7f65c0074ec3069880cb16d259a6e40a46bbc50
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
@@ -21,21 +20,8 @@ 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-r17" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/wildfly/bin:/opt/bitnami/common/bin:/opt/bitnami/keycloak/bin:$PATH" \
WILDFLY_JAVA_HOME="" \
WILDFLY_JAVA_OPTS="" \
WILDFLY_MANAGEMENT_HTTP_PORT_NUMBER="9990" \
WILDFLY_PASSWORD="bitnami" \
WILDFLY_PUBLIC_CONSOLE="true" \
WILDFLY_SERVER_AJP_PORT_NUMBER="8009" \
WILDFLY_SERVER_HTTP_PORT_NUMBER="8080" \
WILDFLY_SERVER_INTERFACE="0.0.0.0" \
WILDFLY_USERNAME="user" \
WILDFLY_WILDFLY_HOME="/home/wildfly" \
WILDFLY_WILDFLY_OPTS="-Dwildfly.as.deployment.ondemand=false"
EXPOSE 8080 9990
BITNAMI_IMAGE_VERSION="11.0.3-debian-10-r18" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/java/bin:/opt/bitnami/keycloak/bin:$PATH"
USER 1001
ENTRYPOINT [ "/opt/bitnami/scripts/keycloak/entrypoint.sh" ]

View File

@@ -15,10 +15,10 @@
},
"keycloak": {
"arch": "amd64",
"digest": "d94c5f394448d2ea3cf127f8f2dd7df14090e4ea5b7a0f4324e9b6ddcf5e59f9",
"digest": "bd279822dba2dc8ddf8c53c002ac9e4ebb0e38d213a7d6a4eb0230839fd5719c",
"distro": "debian-10",
"type": "NAMI",
"version": "11.0.3-0"
"version": "11.0.3-1"
},
"wait-for-port": {
"arch": "amd64",
@@ -26,12 +26,5 @@
"distro": "debian-10",
"type": "NAMI",
"version": "1.0.0-3"
},
"wildfly": {
"arch": "amd64",
"digest": "6231fc89704e5a70eff9eb509a3c61a3932073ee11ec3c48e5fe7095f8010ac6",
"distro": "debian-10",
"type": "NAMI",
"version": "20.0.1-4"
}
}

View File

@@ -15,18 +15,7 @@ set -o pipefail
# Load keycloak environment variables
. /opt/bitnami/scripts/keycloak-env.sh
# Merge the keycloak folder with the Wildfly folder just as stated by the documentation
# (we are using the keycloak-overlay distribution)
# https://www.keycloak.org/docs/latest/server_installation/#installing-distribution-files
# As the user can mount themes in the keycloak folder, we prefer creating a symlink wildfly -> keycloak
# rather than the opposite
rsync -a "$KEYCLOAK_BASE_DIR"/ "$WILDFLY_BASE_DIR"/
rm -r "$KEYCLOAK_BASE_DIR" && mv "$WILDFLY_BASE_DIR" "$KEYCLOAK_BASE_DIR" && ln -s "$KEYCLOAK_BASE_DIR" "$WILDFLY_BASE_DIR"
info "Installing Keycloak"
"$KEYCLOAK_BIN_DIR"/jboss-cli.sh --file="${KEYCLOAK_BASE_DIR}/bin/keycloak-install-ha.cli"
for dir in "$KEYCLOAK_LOG_DIR" "$KEYCLOAK_TMP_DIR" "$KEYCLOAK_VOLUME_DIR" "$KEYCLOAK_DATA_DIR" "$KEYCLOAK_CONF_DIR" "$KEYCLOAK_INITSCRIPTS_DIR" "$KEYCLOAK_DEPLOYMENTS_DIR" "$KEYCLOAK_DOMAIN_TMP_DIR" "$KEYCLOAK_DOMAIN_CONF_DIR"; do
for dir in "$KEYCLOAK_LOG_DIR" "$KEYCLOAK_TMP_DIR" "$KEYCLOAK_VOLUME_DIR" "$KEYCLOAK_DATA_DIR" "$KEYCLOAK_CONF_DIR" "$KEYCLOAK_INITSCRIPTS_DIR" "$KEYCLOAK_DEPLOYMENTS_DIR" "$KEYCLOAK_DOMAIN_TMP_DIR" "$KEYCLOAK_DOMAIN_CONF_DIR" "${KEYCLOAK_BASE_DIR}/.installation"; do
ensure_dir_exists "$dir"
chmod -R g+rwX "$dir"
done

View File

@@ -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-r17`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-keycloak/blob/11.0.3-debian-10-r17/11/debian-10/Dockerfile)
* [`11`, `11-debian-10`, `11.0.3`, `11.0.3-debian-10-r18`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-keycloak/blob/11.0.3-debian-10-r18/11/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/keycloak GitHub repo](https://github.com/bitnami/bitnami-docker-keycloak).