17.0.1-debian-10-r51 release

This commit is contained in:
Bitnami Bot
2021-12-17 19:26:22 +00:00
parent 9ddbe3e2ca
commit 2fc9c4560f
4 changed files with 22 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
RUN /opt/bitnami/scripts/java/postunpack.sh
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="17.0.1-debian-10-r50" \
BITNAMI_IMAGE_VERSION="17.0.1-debian-10-r51" \
JAVA_HOME="/opt/bitnami/java" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \

View File

@@ -446,3 +446,19 @@ generate_sha_hash() {
echo -n "$str" | "sha${algorithm}sum" | awk '{print $1}'
}
########################
# Converts a string to its hexadecimal representation
# Arguments:
# $1 - string
# Returns:
# hexadecimal representation of the string
#########################
convert_to_hex() {
local -r str=${1:?missing input string}
local -i iterator
local char
for ((iterator=0; iterator<${#str}; iterator++)); do
char=${str:iterator:1}
printf '%x' "'${char}"
done
}

View File

@@ -177,6 +177,8 @@ web_server_reload() {
# --document-root - Path to document root directory
# Apache-specific flags:
# --apache-additional-configuration - Additional vhost configuration (no default)
# --apache-additional-http-configuration - Additional HTTP vhost configuration (no default)
# --apache-additional-https-configuration - Additional HTTPS vhost configuration (no default)
# --apache-before-vhost-configuration - Configuration to add before the <VirtualHost> directive (no default)
# --apache-allow-override - Whether to allow .htaccess files (only allowed when --move-htaccess is set to 'no' and type is not defined)
# --apache-extra-directory-configuration - Extra configuration for the document root directory
@@ -224,6 +226,8 @@ ensure_web_server_app_configuration_exists() {
# Specific Apache flags
--apache-additional-configuration \
| --apache-additional-http-configuration \
| --apache-additional-https-configuration \
| --apache-before-vhost-configuration \
| --apache-allow-override \
| --apache-extra-directory-configuration \