0.26.0-scratch-r5 release

This commit is contained in:
Bitnami Bot 2022-06-29 17:10:52 +00:00 committed by Bitnami Containers
parent 2fa0657a3b
commit 68c7815b44
4 changed files with 26 additions and 7 deletions

View File

@ -1,7 +1,24 @@
FROM scratch
FROM bitnami/minideb:bullseye as builder
COPY prebuildfs /
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install required system packages and dependencies
RUN install_packages ca-certificates gzip tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/thanos-0.26.0-150-linux-amd64-debian-11.tar.gz && \
echo "8d4fc6e997edfe05e7cc984bf8ff4c1ab6682f824f7898871769365281aab4fe /tmp/bitnami/pkg/cache/thanos-0.26.0-150-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/thanos-0.26.0-150-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/thanos-0.26.0-150-linux-amd64-debian-11.tar.gz
######
FROM scratch
COPY prebuildfs /
COPY rootfs /
COPY --from=builder /opt/bitnami/thanos/bin/thanos /bin/thanos
USER 1001
ENTRYPOINT [ "/bin/thanos" ]

View File

@ -1,7 +1,9 @@
{
"thanos": {
"digest": "db6bdeb844d72b8813e7f4e57f0f484f1bff4cc8beb348b48085fa03619a3f82",
"type": "BLACKSMITH",
"version": "0.26.0"
"arch": "amd64",
"digest": "8d4fc6e997edfe05e7cc984bf8ff4c1ab6682f824f7898871769365281aab4fe",
"distro": "debian-11",
"type": "NAMI",
"version": "0.26.0-150"
}
}

View File

@ -42,7 +42,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/).
* [`0`, `0-scratch`, `0.26.0`, `0.26.0-scratch-r4`, `latest` (0/scratch/Dockerfile)](https://github.com/bitnami/bitnami-docker-thanos/blob/0.26.0-scratch-r4/0/scratch/Dockerfile)
* [`0`, `0-scratch`, `0.26.0`, `0.26.0-scratch-r5`, `latest` (0/scratch/Dockerfile)](https://github.com/bitnami/bitnami-docker-thanos/blob/0.26.0-scratch-r5/0/scratch/Dockerfile)
## Connecting to other containers

View File

@ -7,7 +7,7 @@ services:
- --web.listen-address=0.0.0.0:9100
# Prepare Prometheus Configuration
prepare-prometheus:
image: docker.io/bitnami/minideb:buster
image: docker.io/bitnami/minideb:latest
command:
- /bin/bash
- -ec
@ -68,7 +68,7 @@ services:
- MINIO_DEFAULT_BUCKETS=thanos
# Prepare Object Store configuration
prepare-object-store-conf:
image: docker.io/bitnami/minideb:buster
image: docker.io/bitnami/minideb:latest
command:
- /bin/bash
- -ec