mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 23:10:53 +08:00
7.6.2-debian-10-r35 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-r34" \
|
||||
BITNAMI_IMAGE_VERSION="7.6.2-debian-10-r35" \
|
||||
PATH="/opt/bitnami/logstash/bin:/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
@@ -38,17 +38,24 @@ is_service_running() {
|
||||
# Stop a service by sending a termination signal to its pid
|
||||
# Arguments:
|
||||
# $1 - Pid file
|
||||
# $2 - Signal number (optional)
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
stop_service_using_pid() {
|
||||
local pid_file="${1:?pid file is missing}"
|
||||
local signal="${2:-}"
|
||||
local pid
|
||||
|
||||
pid="$(get_pid_from_file "$pid_file")"
|
||||
[[ -z "$pid" ]] || ! is_service_running "$pid" && return
|
||||
|
||||
kill "$pid"
|
||||
if [[ -n "$signal" ]]; then
|
||||
kill "-${signal}" "$pid"
|
||||
else
|
||||
kill "$pid"
|
||||
fi
|
||||
|
||||
local counter=10
|
||||
while [[ "$counter" -ne 0 ]] && is_service_running "$pid"; do
|
||||
sleep 1
|
||||
|
||||
@@ -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-debian-10`, `7.6.2-debian-10-r34`, `7`, `7.6.2`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.6.2-debian-10-r34/7/debian-10/Dockerfile)
|
||||
* [`7-debian-10`, `7.6.2-debian-10-r35`, `7`, `7.6.2`, `latest` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-logstash/blob/7.6.2-debian-10-r35/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