mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 14:58:20 +08:00
7.6.2-debian-10-r9 release
This commit is contained in:
@@ -18,7 +18,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/logstash/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="logstash" \
|
||||
BITNAMI_IMAGE_VERSION="7.6.2-debian-10-r8" \
|
||||
BITNAMI_IMAGE_VERSION="7.6.2-debian-10-r9" \
|
||||
PATH="/opt/bitnami/logstash/bin:/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
@@ -21,6 +21,31 @@ dns_lookup() {
|
||||
getent ahosts "$host" | awk '/STREAM/ {print $1 }'
|
||||
}
|
||||
|
||||
#########################
|
||||
## Wait for a hostname and return the IP
|
||||
# Arguments:
|
||||
# $1 - hostname
|
||||
# $2 - number of retries
|
||||
# $3 - seconds to wait between retries
|
||||
# Returns:
|
||||
# - IP address that corresponds to the hostname
|
||||
#########################
|
||||
wait_for_dns_lookup() {
|
||||
local hostname="${1:?hostname is missing}"
|
||||
local retries="${2:-5}"
|
||||
local seconds="${3:-1}"
|
||||
check_host() {
|
||||
if [[ $(dns_lookup "$hostname") == "" ]]; then
|
||||
false
|
||||
else
|
||||
true
|
||||
fi
|
||||
}
|
||||
# Wait 10 minutes for the host to be ready
|
||||
retry_while "check_host ${hostname}" "$retries" "$seconds"
|
||||
dns_lookup "$hostname"
|
||||
}
|
||||
|
||||
########################
|
||||
# Get machine's IP
|
||||
# Arguments:
|
||||
|
||||
@@ -44,7 +44,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/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`7-debian-10`, `7.6.2-debian-10-r8`, `7`, `7.6.2`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.6.2-debian-10-r8/7/debian-10/Dockerfile)
|
||||
* [`7-debian-10`, `7.6.2-debian-10-r9`, `7`, `7.6.2`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.6.2-debian-10-r9/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