1.4.1-debian-11-r0 release

This commit is contained in:
Bitnami Bot
2022-06-06 13:29:26 +00:00
committed by Bitnami Containers
parent 2206321b2e
commit 47702fd4a1
7 changed files with 114 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
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/grafana-tempo-1.4.1-0-linux-amd64-debian-11.tar.gz && \
echo "2f66fe35eb7a3897b5d787df6288f920136faa66060dab98b5099b5755192c35 /tmp/bitnami/pkg/cache/grafana-tempo-1.4.1-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/grafana-tempo-1.4.1-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/grafana-tempo-1.4.1-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
RUN mkdir -p /bitnami/grafana-tempo && chmod g+rwX /bitnami/grafana-tempo
ENV APP_VERSION="1.4.1" \
BITNAMI_APP_NAME="grafana-tempo" \
PATH="/opt/bitnami/grafana-tempo/bin:$PATH"
USER 1001
ENTRYPOINT [ "tempo" ]
CMD [ "-config.file=/bitnami/grafana-tempo/conf/tempo.yaml" ]

View File

@@ -0,0 +1,4 @@
version: '2'
services:
grafana-tempo:
image: docker.io/bitnami/grafana-tempo:1

View File

@@ -0,0 +1,45 @@
server:
http_listen_port: 3100
distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
jaeger: # the receives all come from the OpenTelemetry collector. more configuration information can
protocols: # be found there: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver
thrift_http: #
grpc: # for a production deployment you should only enable the receivers you need!
thrift_binary:
thrift_compact:
zipkin:
otlp:
protocols:
http:
grpc:
opencensus:
ingester:
trace_idle_period: 10s # the length of time after a trace has not received spans to consider it complete and flush it
max_block_bytes: 1_000_000 # cut the head block when it hits this size or ...
max_block_duration: 5m # this much time passes
compactor:
compaction:
compaction_window: 1h # blocks in this time window will be compacted together
max_block_bytes: 100_000_000 # maximum size of compacted blocks
block_retention: 1h
compacted_block_retention: 10m
storage:
trace:
backend: local # backend configuration to use
block:
bloom_filter_false_positive: .05 # bloom filter false positive rate. lower values create larger filters but fewer false positives
index_downsample_bytes: 1000 # number of bytes per index record
encoding: zstd # block encoding/compression. options: none, gzip, lz4-64k, lz4-256k, lz4-1M, lz4, snappy, zstd
wal:
path: /tmp/tempo/wal # where to store the the wal locally
encoding: none # wal encoding/compression. options: none, gzip, lz4-64k, lz4-256k, lz4-1M, lz4, snappy, zstd
local:
path: /tmp/tempo/blocks
pool:
max_workers: 100 # the worker pool mainly drives querying, but is also used for polling the blocklist
queue_depth: 10000

View File

@@ -0,0 +1,9 @@
{
"grafana-tempo": {
"arch": "amd64",
"digest": "2f66fe35eb7a3897b5d787df6288f920136faa66060dab98b5099b5755192c35",
"distro": "debian-11",
"type": "NAMI",
"version": "1.4.1-0"
}
}

View File

@@ -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

View 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

View File

@@ -28,7 +28,7 @@ $ docker run --name grafana-tempo bitnami/grafana-tempo: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/).
* [`1`, `1-debian-10`, `1.4.1`, `1.4.1-debian-10-r26`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-grafana-tempo/blob/1.4.1-debian-10-r26/1/debian-10/Dockerfile)
* [`1`, `1-debian-11`, `1.4.1`, `1.4.1-debian-11-r0`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-grafana-tempo/blob/1.4.1-debian-11-r0/1/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/grafana-tempo GitHub repo](https://github.com/bitnami/bitnami-docker-grafana-tempo).
@@ -49,7 +49,7 @@ $ docker pull bitnami/grafana-tempo:[TAG]
If you wish, you can also build the image yourself.
```console
$ docker build -t bitnami/grafana-tempo:latest 'https://github.com/bitnami/bitnami-docker-grafana-tempo.git#master:1/debian-10'
$ docker build -t bitnami/grafana-tempo:latest 'https://github.com/bitnami/bitnami-docker-grafana-tempo.git#master:1/debian-11'
```
## Why use a non-root container?