2.3.8-debian-11-r0 release
This commit is contained in:
parent
74e37f1e49
commit
417e8c466f
|
|
@ -0,0 +1,32 @@
|
|||
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 zlib1g
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/java-11.0.15-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "fe6b65886a6b1f545508e272efbf422054ee030c867f94ebec2f93c5518252de /tmp/bitnami/pkg/cache/java-11.0.15-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/java-11.0.15-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/java-11.0.15-0-linux-amd64-debian-11.tar.gz
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/cassandra-exporter-2.3.8-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "bdf7de15220ca8077a59d5c610a80c7a022c877bd694fb2228fb7d1ff6fe9ff8 /tmp/bitnami/pkg/cache/cassandra-exporter-2.3.8-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/cassandra-exporter-2.3.8-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/cassandra-exporter-2.3.8-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="2.3.8" \
|
||||
BITNAMI_APP_NAME="cassandra-exporter" \
|
||||
PATH="/opt/bitnami/java/bin:$PATH"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
WORKDIR /opt/bitnami/cassandra-exporter
|
||||
USER 1001
|
||||
ENTRYPOINT [ "java", "-jar", "./cassandra_exporter.jar", "./config.yml" ]
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
version: '2'
|
||||
services:
|
||||
cassandra-exporter:
|
||||
image: docker.io/bitnami/cassandra-exporter:2
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"cassandra-exporter": {
|
||||
"arch": "amd64",
|
||||
"digest": "bdf7de15220ca8077a59d5c610a80c7a022c877bd694fb2228fb7d1ff6fe9ff8",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.3.8-0"
|
||||
},
|
||||
"java": {
|
||||
"arch": "amd64",
|
||||
"digest": "fe6b65886a6b1f545508e272efbf422054ee030c867f94ebec2f93c5518252de",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "11.0.15-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/).
|
||||
|
||||
|
||||
* [`2`, `2-debian-10`, `2.3.8`, `2.3.8-debian-10-r69`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-cassandra-exporter/blob/2.3.8-debian-10-r69/2/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-11`, `2.3.8`, `2.3.8-debian-11-r0`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-cassandra-exporter/blob/2.3.8-debian-11-r0/2/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/cassandra-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-cassandra-exporter).
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ $ docker pull bitnami/cassandra-exporter:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/cassandra-exporter:latest 'https://github.com/bitnami/bitnami-docker-cassandra-exporter.git#master:2/debian-10'
|
||||
$ docker build -t bitnami/cassandra-exporter:latest 'https://github.com/bitnami/bitnami-docker-cassandra-exporter.git#master:2/debian-11'
|
||||
```
|
||||
|
||||
## Connecting to other containers
|
||||
|
|
|
|||
Loading…
Reference in New Issue