mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 06:48:04 +08:00
[bitnami/node-exporter] Release 1.3.1-debian-11-r31 (#4465)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -6,7 +6,7 @@ ENV HOME="/" \
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.ref.name="1.3.1-debian-11-r30" \
|
||||
org.opencontainers.image.ref.name="1.3.1-debian-11-r31" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/node-exporter" \
|
||||
org.opencontainers.image.title="node-exporter" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
@@ -15,11 +15,14 @@ LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# 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/node-exporter-1.3.1-153-linux-amd64-debian-11.tar.gz && \
|
||||
echo "1fa8a29fa999eb97b70d4c4922d19a694779dacabebca9c5954828c2d4c4a337 /tmp/bitnami/pkg/cache/node-exporter-1.3.1-153-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/node-exporter-1.3.1-153-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/node-exporter-1.3.1-153-linux-amd64-debian-11.tar.gz
|
||||
RUN install_packages ca-certificates curl gzip procps tar
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
if [ ! -f node-exporter-1.3.1-154-linux-amd64-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/node-exporter-1.3.1-154-linux-amd64-debian-11.tar.gz -O ; \
|
||||
fi && \
|
||||
echo "cf955f9e2f7ccf2107d25add3794dbe49354acaa4064ac36d78f73738fd29b8f node-exporter-1.3.1-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf node-exporter-1.3.1-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --wildcards '*/files' && \
|
||||
rm -rf node-exporter-1.3.1-154-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
|
||||
|
||||
Reference in New Issue
Block a user