0.11.2-debian-10-r59 release

This commit is contained in:
Bitnami Bot 2021-01-22 11:56:33 +00:00
parent 522913c45c
commit 8a29d96b9b
6 changed files with 72 additions and 1 deletions

View File

@ -0,0 +1,29 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/mongodb-exporter-0.11.2-1-linux-amd64-debian-10.tar.gz && \
echo "714976773812283d013364bf130e55b8cf7f0e0fad2a8d2af7c986019077e0d5 /tmp/bitnami/pkg/cache/mongodb-exporter-0.11.2-1-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/mongodb-exporter-0.11.2-1-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/mongodb-exporter-0.11.2-1-linux-amd64-debian-10.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 ln -sf /opt/bitnami/mongodb-exporter/bin/mongodb_exporter /bin/mongodb_exporter
ENV BITNAMI_APP_NAME="mongodb-exporter" \
BITNAMI_IMAGE_VERSION="0.11.2-debian-10-r59" \
PATH="/opt/bitnami/mongodb-exporter/bin:$PATH"
EXPOSE 9216
WORKDIR /opt/bitnami/mongodb-exporter
USER 1001
ENTRYPOINT [ "mongodb_exporter" ]

View File

@ -0,0 +1,6 @@
version: '2'
services:
mongodb-exporter:
image: docker.io/bitnami/mongodb-exporter:0.11-debian-10
ports:
- 9216:9216

View File

@ -0,0 +1,9 @@
{
"mongodb-exporter": {
"arch": "amd64",
"digest": "714976773812283d013364bf130e55b8cf7f0e0fad2a8d2af7c986019077e0d5",
"distro": "debian-10",
"type": "NAMI",
"version": "0.11.2-1"
}
}

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

@ -31,7 +31,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`0`, `0-debian-10`, `0.20.1`, `0.20.1-debian-10-r44`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb-exporter/blob/0.20.1-debian-10-r44/0/debian-10/Dockerfile)
* [`0.11`, `0.11-debian-10`, `0.11.2`, `0.11.2-debian-10-r4` (0.11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb-exporter/blob/0.11.2-debian-10-r4/0.11/debian-10/Dockerfile)
* [`0.11`, `0.11-debian-10`, `0.11.2`, `0.11.2-debian-10-r59` (0.11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb-exporter/blob/0.11.2-debian-10-r59/0.11/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/mongodb-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-mongodb-exporter).