0.8.0-debian-10-r99 release

This commit is contained in:
Bitnami Bot 2020-04-30 13:01:47 +00:00
parent 55e0f77e40
commit 120b826b25
3 changed files with 32 additions and 3 deletions

View File

@ -1,8 +1,9 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl procps sudo unzip wget
RUN install_packages ca-certificates curl gzip procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/postgres-exporter-0.8.0-1-linux-amd64-debian-10.tar.gz && \
echo "751613992d64308dc60548d43a566fee8ad9a3260f5afb46b9a1b8747a8d9e9b /tmp/bitnami/pkg/cache/postgres-exporter-0.8.0-1-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/postgres-exporter-0.8.0-1-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
@ -11,7 +12,11 @@ RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
ENV BITNAMI_APP_NAME="postgres-exporter" \
BITNAMI_IMAGE_VERSION="0.8.0-debian-10-r98" \
BITNAMI_IMAGE_VERSION="0.8.0-debian-10-r99" \
HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux" \
PATH="/opt/bitnami/postgres-exporter/bin:$PATH"
EXPOSE 9187

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-debian-10`, `0.8.0-debian-10-r98`, `0`, `0.8.0`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgres-exporter/blob/0.8.0-debian-10-r98/0/debian-10/Dockerfile)
* [`0-debian-10`, `0.8.0-debian-10-r99`, `0`, `0.8.0`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgres-exporter/blob/0.8.0-debian-10-r99/0/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/postgres-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-postgres-exporter).