[bitnami/opensearch] Release 3.0.0-debian-12-r6 (#82444)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-06-18 11:16:06 +02:00
committed by GitHub
parent 12bab42a0d
commit f929bad695
5 changed files with 36 additions and 6 deletions

View File

@@ -10,10 +10,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-05-30T16:53:41Z" \
org.opencontainers.image.created="2025-06-18T08:20:41Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/opensearch/README.md" \
org.opencontainers.image.ref.name="3.0.0-debian-12-r5" \
org.opencontainers.image.ref.name="3.0.0-debian-12-r6" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/opensearch" \
org.opencontainers.image.title="opensearch" \
org.opencontainers.image.vendor="Broadcom, Inc." \
@@ -31,7 +31,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libgcc-s1 libgomp1 libstdc++6 procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"yq-4.45.4-1-linux-${OS_ARCH}-debian-12" \
"yq-4.45.4-3-linux-${OS_ARCH}-debian-12" \
"jre-21.0.7-9-0-linux-${OS_ARCH}-debian-12" \
"opensearch-3.0.0-0-linux-${OS_ARCH}-debian-12" \
) ; \

View File

@@ -15,6 +15,6 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "4.45.4-1"
"version": "4.45.4-3"
}
}

View File

@@ -0,0 +1,26 @@
#!/bin/sh
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
set -eu
n=0
max=2
export DEBIAN_FRONTEND=noninteractive
until [ $n -gt $max ]; do
set +e
(
apt-get autoremove --purge -y "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives

View File

@@ -46,6 +46,7 @@ opensearch_env_vars=(
OPENSEARCH_PLUGINS
OPENSEARCH_TRANSPORT_PORT_NUMBER
OPENSEARCH_HTTP_PORT_NUMBER
OPENSEARCH_ACTION_DESTRUCTIVE_REQUIRES_NAME
OPENSEARCH_ENABLE_SECURITY
OPENSEARCH_PASSWORD
OPENSEARCH_TLS_VERIFICATION_MODE
@@ -190,6 +191,8 @@ export OPENSEARCH_TRANSPORT_PORT_NUMBER="${OPENSEARCH_TRANSPORT_PORT_NUMBER:-930
export DB_TRANSPORT_PORT_NUMBER="$OPENSEARCH_TRANSPORT_PORT_NUMBER"
export OPENSEARCH_HTTP_PORT_NUMBER="${OPENSEARCH_HTTP_PORT_NUMBER:-9200}"
export DB_HTTP_PORT_NUMBER="$OPENSEARCH_HTTP_PORT_NUMBER"
export OPENSEARCH_ACTION_DESTRUCTIVE_REQUIRES_NAME="${OPENSEARCH_ACTION_DESTRUCTIVE_REQUIRES_NAME:-}"
export DB_ACTION_DESTRUCTIVE_REQUIRES_NAME="$OPENSEARCH_ACTION_DESTRUCTIVE_REQUIRES_NAME"
# Opensearch Security configuration
export OPENSEARCH_ENABLE_SECURITY="${OPENSEARCH_ENABLE_SECURITY:-false}"

View File

@@ -157,11 +157,11 @@ networks:
services:
opensearch:
image: 'bitnami/opensearch:latest'
image: bitnami/opensearch:latest
networks:
- app-tier
myapp:
image: 'YOUR_APPLICATION_IMAGE'
image: YOUR_APPLICATION_IMAGE
networks:
- app-tier
```
@@ -207,6 +207,7 @@ docker-compose up -d
| `OPENSEARCH_PLUGINS` | List of Opensearch plugins to activate | `nil` |
| `OPENSEARCH_TRANSPORT_PORT_NUMBER` | Opensearch node port number | `9300` |
| `OPENSEARCH_HTTP_PORT_NUMBER` | Opensearch port | `9200` |
| `OPENSEARCH_ACTION_DESTRUCTIVE_REQUIRES_NAME` | Enable action destructive requires name | `nil` |
| `OPENSEARCH_ENABLE_SECURITY` | Enable Opensearch security settings. | `false` |
| `OPENSEARCH_PASSWORD` | Password for "admin" user. | `bitnami` |
| `OPENSEARCH_TLS_VERIFICATION_MODE` | Opensearch TLS verification mode in transport layer. | `full` |