diff --git a/bitnami/grafana-tempo/1/debian-11/Dockerfile b/bitnami/grafana-tempo/1/debian-11/Dockerfile new file mode 100644 index 000000000000..dcaba13b97c3 --- /dev/null +++ b/bitnami/grafana-tempo/1/debian-11/Dockerfile @@ -0,0 +1,27 @@ +FROM docker.io/bitnami/minideb:bullseye +LABEL maintainer "Bitnami " + +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" ] diff --git a/bitnami/grafana-tempo/1/debian-11/docker-compose.yml b/bitnami/grafana-tempo/1/debian-11/docker-compose.yml new file mode 100644 index 000000000000..c5c6a7a9f7af --- /dev/null +++ b/bitnami/grafana-tempo/1/debian-11/docker-compose.yml @@ -0,0 +1,4 @@ +version: '2' +services: + grafana-tempo: + image: docker.io/bitnami/grafana-tempo:1 diff --git a/bitnami/grafana-tempo/1/debian-11/examples/tempo.yaml b/bitnami/grafana-tempo/1/debian-11/examples/tempo.yaml new file mode 100644 index 000000000000..fdb6ba74a5d5 --- /dev/null +++ b/bitnami/grafana-tempo/1/debian-11/examples/tempo.yaml @@ -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 diff --git a/bitnami/grafana-tempo/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/grafana-tempo/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json new file mode 100644 index 000000000000..5d95250b62ef --- /dev/null +++ b/bitnami/grafana-tempo/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -0,0 +1,9 @@ +{ + "grafana-tempo": { + "arch": "amd64", + "digest": "2f66fe35eb7a3897b5d787df6288f920136faa66060dab98b5099b5755192c35", + "distro": "debian-11", + "type": "NAMI", + "version": "1.4.1-0" + } +} \ No newline at end of file diff --git a/bitnami/grafana-tempo/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/grafana-tempo/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt new file mode 100644 index 000000000000..c76ba31f3b8a --- /dev/null +++ b/bitnami/grafana-tempo/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt @@ -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 diff --git a/bitnami/grafana-tempo/1/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/grafana-tempo/1/debian-11/prebuildfs/usr/sbin/install_packages new file mode 100755 index 000000000000..c9577647443b --- /dev/null +++ b/bitnami/grafana-tempo/1/debian-11/prebuildfs/usr/sbin/install_packages @@ -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 diff --git a/bitnami/grafana-tempo/README.md b/bitnami/grafana-tempo/README.md index a84196d45f43..02692f51ddae 100644 --- a/bitnami/grafana-tempo/README.md +++ b/bitnami/grafana-tempo/README.md @@ -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?