FROM docker.io/bitnami/minideb:buster LABEL maintainer "Bitnami " 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/redis-exporter-1.27.1-0-linux-amd64-debian-10.tar.gz && \ echo "e0c00f1b08a8ded0a5a13497e99913e311a4bf7563194b265b41bb9c14bd4ac7 /tmp/bitnami/pkg/cache/redis-exporter-1.27.1-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \ tar -zxf /tmp/bitnami/pkg/cache/redis-exporter-1.27.1-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ rm -rf /tmp/bitnami/pkg/cache/redis-exporter-1.27.1-0-linux-amd64-debian-10.tar.gz RUN chmod g+rwX /opt/bitnami ENV BITNAMI_APP_NAME="redis-exporter" \ BITNAMI_IMAGE_VERSION="1.27.1-debian-10-r1" \ PATH="/opt/bitnami/redis-exporter/bin:$PATH" EXPOSE 9121 WORKDIR /opt/bitnami/redis-exporter USER 1001 ENTRYPOINT [ "redis_exporter" ]