1.0.1-debian-10-r0 release
This commit is contained in:
parent
d018d19d6f
commit
9b28ea1f3b
|
|
@ -0,0 +1,26 @@
|
|||
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 gzip procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/node-exporter-1.0.1-0-linux-amd64-debian-10.tar.gz && \
|
||||
echo "fa52d3dc76c70beef0cfe1d1a96e08a2305512ecb6deecbe0686d4e57e2a55ec /tmp/bitnami/pkg/cache/node-exporter-1.0.1-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/node-exporter-1.0.1-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/node-exporter-1.0.1-0-linux-amd64-debian-10.tar.gz
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
||||
ENV BITNAMI_APP_NAME="node-exporter" \
|
||||
BITNAMI_IMAGE_VERSION="1.0.1-debian-10-r0" \
|
||||
HOME="/" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
OS_NAME="linux" \
|
||||
PATH="/opt/bitnami/node-exporter/bin:$PATH"
|
||||
|
||||
EXPOSE 9100
|
||||
|
||||
WORKDIR /opt/bitnami/node-exporter
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/opt/bitnami/node-exporter/bin/node_exporter" ]
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
node-exporter:
|
||||
image: docker.io/bitnami/node-exporter:1-debian-10
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -32,6 +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/).
|
||||
|
||||
|
||||
* [`1-debian-10`, `1.0.1-debian-10-r0`, `1`, `1.0.1` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-node-exporter/blob/1.0.1-debian-10-r0/1/debian-10/Dockerfile)
|
||||
* [`0-debian-10`, `0.18.1-debian-10-r144`, `0`, `0.18.1`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-node-exporter/blob/0.18.1-debian-10-r144/0/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/node-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-node-exporter).
|
||||
|
|
|
|||
Loading…
Reference in New Issue