mirror of
https://github.com/bitnami/containers.git
synced 2026-03-29 16:27:49 +08:00
2.5.0-debian-11-r0 release
This commit is contained in:
committed by
Bitnami Containers
parent
3f11842e76
commit
d2cda9f7d7
25
bitnami/promtail/2/debian-11/Dockerfile
Normal file
25
bitnami/promtail/2/debian-11/Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
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/promtail-2.5.0-1-linux-amd64-debian-11.tar.gz && \
|
||||
echo "1131ac02ffa55e192d8558d62d449a8abb6ecadab6c64a123748892717e92859 /tmp/bitnami/pkg/cache/promtail-2.5.0-1-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/promtail-2.5.0-1-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/promtail-2.5.0-1-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.5.0" \
|
||||
BITNAMI_APP_NAME="promtail" \
|
||||
PATH="/opt/bitnami/promtail/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "promtail" ]
|
||||
4
bitnami/promtail/2/debian-11/docker-compose.yml
Normal file
4
bitnami/promtail/2/debian-11/docker-compose.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
version: '2'
|
||||
services:
|
||||
promtail:
|
||||
image: docker.io/bitnami/promtail:2
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"promtail": {
|
||||
"arch": "amd64",
|
||||
"digest": "1131ac02ffa55e192d8558d62d449a8abb6ecadab6c64a123748892717e92859",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.5.0-1"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
24
bitnami/promtail/2/debian-11/prebuildfs/usr/sbin/install_packages
Executable file
24
bitnami/promtail/2/debian-11/prebuildfs/usr/sbin/install_packages
Executable file
@@ -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 promtail bitnami/promtail:latest
|
||||
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.5.0`, `2.5.0-debian-10-r22`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-promtail/blob/2.5.0-debian-10-r22/2/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-11`, `2.5.0`, `2.5.0-debian-11-r0`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-promtail/blob/2.5.0-debian-11-r0/2/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/promtail GitHub repo](https://github.com/bitnami/bitnami-docker-promtail).
|
||||
|
||||
@@ -49,7 +49,7 @@ $ docker pull bitnami/promtail:[TAG]
|
||||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/promtail:latest 'https://github.com/bitnami/bitnami-docker-promtail.git#master:2/debian-10'
|
||||
$ docker build -t bitnami/promtail:latest 'https://github.com/bitnami/bitnami-docker-promtail.git#master:2/debian-11'
|
||||
```
|
||||
|
||||
## Why use a non-root container?
|
||||
|
||||
Reference in New Issue
Block a user