7.16.1-debian-10-r4 release

This commit is contained in:
Bitnami Bot
2021-12-17 13:00:08 +00:00
parent 79d51c63f0
commit 7c7310cdaa
7 changed files with 28 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ COPY prebuildfs /
RUN install_packages acl ca-certificates curl gzip libc6 procps tar zlib1g
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.13-0" --checksum 9552e53ccd3b0ec85a82c31c26a1462260e28b7c58770a5c53560afb02ec66d9
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "yq" "4.16.1-0" --checksum e7a14c06b08e5a773ac5e640a58adce2c0196b5e82e331df19f11861bceb2c9d
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "logstash" "7.16.1-1" --checksum 9e5a507a3606a12e2fa9947cc571d9fd12e38a532504e420810667d231387831
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "logstash" "7.16.1-2" --checksum 8101db490f926247df80c57dcdb40c005855c556b943b34f5979168ca950969d
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
RUN chmod g+rwX /opt/bitnami
@@ -21,7 +21,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh
RUN /opt/bitnami/scripts/logstash/postunpack.sh
ENV BITNAMI_APP_NAME="logstash" \
BITNAMI_IMAGE_VERSION="7.16.1-debian-10-r3" \
BITNAMI_IMAGE_VERSION="7.16.1-debian-10-r4" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:/opt/bitnami/logstash/bin:$PATH"

View File

@@ -15,10 +15,10 @@
},
"logstash": {
"arch": "amd64",
"digest": "9e5a507a3606a12e2fa9947cc571d9fd12e38a532504e420810667d231387831",
"digest": "8101db490f926247df80c57dcdb40c005855c556b943b34f5979168ca950969d",
"distro": "debian-10",
"type": "NAMI",
"version": "7.16.1-1"
"version": "7.16.1-2"
},
"yq": {
"arch": "amd64",

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 \

View File

@@ -264,8 +264,8 @@ logstash_initialize() {
if is_boolean_yes "$LOGSTASH_EXPOSE_API"; then
if is_file_writable "$LOGSTASH_CONF_FILE"; then
info "Enabling Logstash API endpoint"
logstash_yml_set "$LOGSTASH_CONF_FILE" '"http.host"' "$LOGSTASH_BIND_ADDRESS"
logstash_yml_set "$LOGSTASH_CONF_FILE" '"http.port"' "$LOGSTASH_API_PORT_NUMBER"
logstash_yml_set "$LOGSTASH_CONF_FILE" '"api.http.host"' "$LOGSTASH_BIND_ADDRESS"
logstash_yml_set "$LOGSTASH_CONF_FILE" '"api.http.port"' "$LOGSTASH_API_PORT_NUMBER"
else
warn "The Logstash configuration file '${LOGSTASH_CONF_FILE}' is not writable. Configurations based on environment variables will be passed as command-line arguments instead."
fi

View File

@@ -17,7 +17,7 @@ set -o pipefail
declare -a cmd=("logstash")
if is_boolean_yes "$LOGSTASH_EXPOSE_API"; then
cmd+=("--http.host" "$LOGSTASH_BIND_ADDRESS" "--http.port" "$LOGSTASH_API_PORT_NUMBER")
cmd+=("--api.http.host" "$LOGSTASH_BIND_ADDRESS" "--api.http.port" "$LOGSTASH_API_PORT_NUMBER")
fi
if [[ -n "$LOGSTASH_PIPELINE_CONF_STRING" ]]; then

View File

@@ -47,7 +47,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/).
* [`7`, `7-debian-10`, `7.16.1`, `7.16.1-debian-10-r3`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.16.1-debian-10-r3/7/debian-10/Dockerfile)
* [`7`, `7-debian-10`, `7.16.1`, `7.16.1-debian-10-r4`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.16.1-debian-10-r4/7/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/logstash GitHub repo](https://github.com/bitnami/bitnami-docker-logstash).