1.4.2-debian-11-r0 release
This commit is contained in:
parent
5865d01fb3
commit
94eb6b9c39
|
|
@ -0,0 +1,28 @@
|
|||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl gzip libc6 procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/kafka-exporter-1.4.2-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "397d48fad50a90570d94746b0a6adb1dbf1e0322848a92b66631cb1003133149 /tmp/bitnami/pkg/cache/kafka-exporter-1.4.2-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/kafka-exporter-1.4.2-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/kafka-exporter-1.4.2-0-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
|
||||
|
||||
ENV APP_VERSION="1.4.2" \
|
||||
BITNAMI_APP_NAME="kafka-exporter" \
|
||||
PATH="/opt/bitnami/kafka-exporter/bin:$PATH"
|
||||
|
||||
EXPOSE 9308
|
||||
|
||||
WORKDIR /opt/bitnami/kafka-exporter
|
||||
USER 1001
|
||||
ENTRYPOINT [ "kafka_exporter" ]
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
version: '2'
|
||||
services:
|
||||
kafka-exporter:
|
||||
image: docker.io/bitnami/kafka-exporter:1
|
||||
ports:
|
||||
- 9308:9308
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"kafka-exporter": {
|
||||
"arch": "amd64",
|
||||
"digest": "397d48fad50a90570d94746b0a6adb1dbf1e0322848a92b66631cb1003133149",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.4.2-0"
|
||||
}
|
||||
}
|
||||
|
|
@ -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,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/).
|
||||
|
||||
|
||||
* [`1`, `1-debian-10`, `1.4.2`, `1.4.2-debian-10-r255`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kafka-exporter/blob/1.4.2-debian-10-r255/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-11`, `1.4.2`, `1.4.2-debian-11-r0`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-kafka-exporter/blob/1.4.2-debian-11-r0/1/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/kafka-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-kafka-exporter).
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ $ docker pull bitnami/kafka-exporter:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/kafka-exporter:latest 'https://github.com/bitnami/bitnami-docker-kafka-exporter.git#master:1/debian-10'
|
||||
$ docker build -t bitnami/kafka-exporter:latest 'https://github.com/bitnami/bitnami-docker-kafka-exporter.git#master:1/debian-11'
|
||||
```
|
||||
|
||||
## Connecting to other containers
|
||||
|
|
|
|||
Loading…
Reference in New Issue