0.17.0-debian-11-r0 release

This commit is contained in:
Bitnami Bot 2022-06-06 11:34:53 +00:00 committed by Bitnami Containers
parent 4af92ab596
commit 554f667431
6 changed files with 85 additions and 2 deletions

View File

@ -0,0 +1,34 @@
FROM docker.io/bitnami/minideb:bullseye
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-11" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip libc6 libgcc-s1 procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/java-1.8.333-0-linux-amd64-debian-11.tar.gz && \
echo "02a91d298bbe3bb5d240f635802a50b2970b19eba960c1804b7275f88a944bb3 /tmp/bitnami/pkg/cache/java-1.8.333-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/java-1.8.333-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/java-1.8.333-0-linux-amd64-debian-11.tar.gz
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jmx-exporter-0.17.0-0-linux-amd64-debian-11.tar.gz && \
echo "0dc672cdf0c7df0f3a6e94739ed1cc49585f8a7a9cb316cf71e873102c64fc45 /tmp/bitnami/pkg/cache/jmx-exporter-0.17.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/jmx-exporter-0.17.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/jmx-exporter-0.17.0-0-linux-amd64-debian-11.tar.gz
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN chown -R 1001:1001 /opt/bitnami/jmx-exporter
ENV APP_VERSION="0.17.0" \
BITNAMI_APP_NAME="jmx-exporter" \
PATH="/opt/bitnami/java/bin:$PATH"
EXPOSE 5556
WORKDIR /opt/bitnami/jmx-exporter
USER 1001
ENTRYPOINT [ "java", "-jar", "jmx_prometheus_httpserver.jar" ]
CMD [ "5556", "example_configs/httpserver_sample_config.yml" ]

View File

@ -0,0 +1,6 @@
version: '2'
services:
jmx-exporter:
image: docker.io/bitnami/jmx-exporter:0
ports:
- 5556:5556

View File

@ -0,0 +1,16 @@
{
"java": {
"arch": "amd64",
"digest": "02a91d298bbe3bb5d240f635802a50b2970b19eba960c1804b7275f88a944bb3",
"distro": "debian-11",
"type": "NAMI",
"version": "1.8.333-0"
},
"jmx-exporter": {
"arch": "amd64",
"digest": "0dc672cdf0c7df0f3a6e94739ed1cc49585f8a7a9cb316cf71e873102c64fc45",
"distro": "debian-11",
"type": "NAMI",
"version": "0.17.0-0"
}
}

View File

@ -0,0 +1,3 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/nami/COPYING
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt

View File

@ -0,0 +1,24 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
n=0
max=2
until [ $n -gt $max ]; do
set +e
(
apt-get update -qq &&
apt-get install -y --no-install-recommends "$@"
)
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
rm -r /var/lib/apt/lists /var/cache/apt/archives

View File

@ -32,7 +32,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/).
* [`0`, `0-debian-10`, `0.17.0`, `0.17.0-debian-10-r9`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jmx-exporter/blob/0.17.0-debian-10-r9/0/debian-10/Dockerfile)
* [`0`, `0-debian-11`, `0.17.0`, `0.17.0-debian-11-r0`, `latest` (0/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-jmx-exporter/blob/0.17.0-debian-11-r0/0/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/jmx-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-jmx-exporter).
@ -53,7 +53,7 @@ $ docker pull bitnami/jmx-exporter:[TAG]
If you wish, you can also build the image yourself.
```console
$ docker build -t bitnami/jmx-exporter:latest 'https://github.com/bitnami/bitnami-docker-jmx-exporter.git#master:0/debian-10'
$ docker build -t bitnami/jmx-exporter:latest 'https://github.com/bitnami/bitnami-docker-jmx-exporter.git#master:0/debian-11'
```
## Connecting to other containers