mirror of
https://github.com/bitnami/containers.git
synced 2026-03-12 06:48:14 +08:00
7.13.3-debian-10-r0 release
This commit is contained in:
@@ -10,14 +10,14 @@ COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages acl ca-certificates curl gzip libc6 procps tar zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.11-0" --checksum 8cf28afc1090b0fec1ad841012ead25b59d2d5f4212742c3d62e6007ef57850b
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "logstash" "7.13.2-0" --checksum 7ccad1f3377dbc20dac43b893a2f04637d79c7180e7b576801805f5d01587eb8
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "logstash" "7.13.3-0" --checksum 54f50a55fab682d62494ce4dd066f5a290066b162d7e99cf32d9f3fdffbd4a34
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.13.0-0" --checksum fd7257c2736164d02832dbf72e2c1ed9d875bf3e32f0988520796bc503330129
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/logstash/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="logstash" \
|
||||
BITNAMI_IMAGE_VERSION="7.13.2-debian-10-r18" \
|
||||
BITNAMI_IMAGE_VERSION="7.13.3-debian-10-r0" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/logstash/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
},
|
||||
"logstash": {
|
||||
"arch": "amd64",
|
||||
"digest": "7ccad1f3377dbc20dac43b893a2f04637d79c7180e7b576801805f5d01587eb8",
|
||||
"digest": "54f50a55fab682d62494ce4dd066f5a290066b162d7e99cf32d9f3fdffbd4a34",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "7.13.2-0"
|
||||
"version": "7.13.3-0"
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,11 @@
|
||||
#
|
||||
# Library for managing files
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
||||
# Load Generic Libraries
|
||||
. /opt/bitnami/scripts/libos.sh
|
||||
|
||||
# Functions
|
||||
|
||||
########################
|
||||
@@ -78,3 +83,37 @@ append_file_after_last_match() {
|
||||
result="$(tac "$file" | sed -E "0,/($match_regex)/s||${value}\n\1|" | tac)"
|
||||
echo "$result" > "$file"
|
||||
}
|
||||
|
||||
########################
|
||||
# Wait until certain entry is present in a log file
|
||||
# Arguments:
|
||||
# $1 - entry to look for
|
||||
# $2 - log file
|
||||
# $3 - max retries. Default: 12
|
||||
# $4 - sleep between retries (in seconds). Default: 5
|
||||
# Returns:
|
||||
# Boolean
|
||||
#########################
|
||||
wait_for_log_entry() {
|
||||
local -r entry="${1:-missing entry}"
|
||||
local -r log_file="${2:-missing log file}"
|
||||
local -r retries="${3:-12}"
|
||||
local -r interval_time="${4:-5}"
|
||||
local attempt=0
|
||||
|
||||
check_log_file_for_entry() {
|
||||
if ! grep -qE "$entry" "$log_file"; then
|
||||
debug "Entry \"${entry}\" still not present in ${log_file} (attempt $((++attempt))/${retries})"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
debug "Checking that ${log_file} log file contains entry \"${entry}\""
|
||||
if retry_while check_log_file_for_entry "$retries" "$interval_time"; then
|
||||
debug "Found entry \"${entry}\" in ${log_file}"
|
||||
true
|
||||
else
|
||||
error "Could not find entry \"${entry}\" in ${log_file} after ${retries} retries"
|
||||
debug_execute cat "$log_file"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -42,7 +42,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.13.2`, `7.13.2-debian-10-r18`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.13.2-debian-10-r18/7/debian-10/Dockerfile)
|
||||
* [`7`, `7-debian-10`, `7.13.3`, `7.13.3-debian-10-r0`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.13.3-debian-10-r0/7/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/logstash GitHub repo](https://github.com/bitnami/bitnami-docker-logstash).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user