mirror of
https://github.com/bitnami/containers.git
synced 2026-03-28 07:47:51 +08:00
[bitnami/jmx-exporter] Release 1.4.0-debian-12-r2 (#86926)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||||
org.opencontainers.image.created="2025-09-07T01:22:01Z" \
|
org.opencontainers.image.created="2025-10-07T01:38:54Z" \
|
||||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/jmx-exporter/README.md" \
|
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/jmx-exporter/README.md" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jmx-exporter" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jmx-exporter" \
|
||||||
@@ -28,7 +28,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
|||||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"jre-17.0.16-12-0-linux-${OS_ARCH}-debian-12" \
|
"jre-17.0.16-12-1-linux-${OS_ARCH}-debian-12" \
|
||||||
"jmx-exporter-1.4.0-0-linux-${OS_ARCH}-debian-12" \
|
"jmx-exporter-1.4.0-0-linux-${OS_ARCH}-debian-12" \
|
||||||
) ; \
|
) ; \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
@@ -49,7 +49,7 @@ RUN uninstall_packages ca-certificates curl
|
|||||||
|
|
||||||
ENV APP_VERSION="1.4.0" \
|
ENV APP_VERSION="1.4.0" \
|
||||||
BITNAMI_APP_NAME="jmx-exporter" \
|
BITNAMI_APP_NAME="jmx-exporter" \
|
||||||
IMAGE_REVISION="1" \
|
IMAGE_REVISION="2" \
|
||||||
PATH="/opt/bitnami/java/bin:$PATH"
|
PATH="/opt/bitnami/java/bin:$PATH"
|
||||||
|
|
||||||
EXPOSE 5556
|
EXPOSE 5556
|
||||||
|
|||||||
@@ -259,6 +259,8 @@ generate_systemd_conf() {
|
|||||||
local success_exit_status=""
|
local success_exit_status=""
|
||||||
local custom_service_content=""
|
local custom_service_content=""
|
||||||
local working_directory=""
|
local working_directory=""
|
||||||
|
local timeout_start_sec="2min"
|
||||||
|
local timeout_stop_sec="30s"
|
||||||
# Parse CLI flags
|
# Parse CLI flags
|
||||||
shift
|
shift
|
||||||
while [[ "$#" -gt 0 ]]; do
|
while [[ "$#" -gt 0 ]]; do
|
||||||
@@ -277,6 +279,8 @@ generate_systemd_conf() {
|
|||||||
| --success-exit-status \
|
| --success-exit-status \
|
||||||
| --custom-service-content \
|
| --custom-service-content \
|
||||||
| --working-directory \
|
| --working-directory \
|
||||||
|
| --timeout-start-sec \
|
||||||
|
| --timeout-stop-sec \
|
||||||
)
|
)
|
||||||
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
|
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
|
||||||
shift
|
shift
|
||||||
@@ -402,8 +406,8 @@ EOF
|
|||||||
fi
|
fi
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<EOF
|
||||||
# Optimizations
|
# Optimizations
|
||||||
TimeoutStartSec=2min
|
TimeoutStartSec=${timeout_start_sec}
|
||||||
TimeoutStopSec=30s
|
TimeoutStopSec=${timeout_stop_sec}
|
||||||
IgnoreSIGPIPE=no
|
IgnoreSIGPIPE=no
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -99,6 +99,12 @@ We can launch another containers using the same flag (`--network NETWORK`) in th
|
|||||||
|
|
||||||
Find all the configuration options in the [JMX Prometheus Exporter documentation](https://github.com/prometheus/jmx_exporter#configuration).
|
Find all the configuration options in the [JMX Prometheus Exporter documentation](https://github.com/prometheus/jmx_exporter#configuration).
|
||||||
|
|
||||||
|
### FIPS configuration in Bitnami Secure Images
|
||||||
|
|
||||||
|
The Bitnami JMX Exporter Docker image from the [Bitnami Secure Images](https://www.arrow.com/globalecs/uk/products/bitnami-secure-images/) catalog includes extra features and settings to configure the container with FIPS capabilities. You can configure the next environment variables:
|
||||||
|
|
||||||
|
- `OPENSSL_FIPS`: whether OpenSSL runs in FIPS mode or not. `yes` (default), `no`.
|
||||||
|
|
||||||
## Logging
|
## Logging
|
||||||
|
|
||||||
The Bitnami JMX Exporter Docker image sends the container logs to `stdout`. To view the logs:
|
The Bitnami JMX Exporter Docker image sends the container logs to `stdout`. To view the logs:
|
||||||
|
|||||||
Reference in New Issue
Block a user