1.0.5-debian-11-r0 release
This commit is contained in:
parent
5d31e0df26
commit
298e18f374
|
|
@ -0,0 +1,26 @@
|
|||
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 procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/wavefront-prometheus-storage-adapter-1.0.5-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "76c0b0a1532620649dbe8c3fc77e9ffbc71e3c294c1e0cda0f408ff249d7746b /tmp/bitnami/pkg/cache/wavefront-prometheus-storage-adapter-1.0.5-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/wavefront-prometheus-storage-adapter-1.0.5-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/wavefront-prometheus-storage-adapter-1.0.5-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.0.5" \
|
||||
BITNAMI_APP_NAME="wavefront-prometheus-storage-adapter" \
|
||||
PATH="/opt/bitnami/wavefront-prometheus-storage-adapter/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "adapter" ]
|
||||
CMD [ "--help" ]
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
version: '2'
|
||||
services:
|
||||
wavefront-prometheus-storage-adapter:
|
||||
image: docker.io/bitnami/wavefront-prometheus-storage-adapter:1
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"wavefront-prometheus-storage-adapter": {
|
||||
"arch": "amd64",
|
||||
"digest": "76c0b0a1532620649dbe8c3fc77e9ffbc71e3c294c1e0cda0f408ff249d7746b",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.5-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
|
||||
|
|
@ -28,7 +28,7 @@ $ docker run --name wavefront-prometheus-storage-adapter bitnami/wavefront-prome
|
|||
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.0.5`, `1.0.5-debian-10-r194`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-wavefront-prometheus-storage-adapter/blob/1.0.5-debian-10-r194/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-11`, `1.0.5`, `1.0.5-debian-11-r0`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-wavefront-prometheus-storage-adapter/blob/1.0.5-debian-11-r0/1/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/wavefront-prometheus-storage-adapter GitHub repo](https://github.com/bitnami/bitnami-docker-wavefront-prometheus-storage-adapter).
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ $ docker pull bitnami/wavefront-prometheus-storage-adapter:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/wavefront-prometheus-storage-adapter:latest 'https://github.com/bitnami/bitnami-docker-wavefront-prometheus-storage-adapter.git#master:1/debian-10'
|
||||
$ docker build -t bitnami/wavefront-prometheus-storage-adapter:latest 'https://github.com/bitnami/bitnami-docker-wavefront-prometheus-storage-adapter.git#master:1/debian-11'
|
||||
```
|
||||
|
||||
## Why use a non-root container?
|
||||
|
|
|
|||
Loading…
Reference in New Issue