[bitnami/trivy] Release 0.32.0-debian-11-r0 (#7298)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2022-09-21 17:04:16 +02:00 committed by GitHub
parent ef3af605a7
commit 41bb4b5c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 17 deletions

View File

@ -4,11 +4,11 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="0.31.3-debian-11-r8" \
org.opencontainers.image.ref.name="0.32.0-debian-11-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/trivy" \
org.opencontainers.image.title="trivy" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="0.31.3"
org.opencontainers.image.version="0.32.0"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@ -18,21 +18,21 @@ ENV HOME="/" \
COPY prebuildfs /
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip libc6 procps tar
RUN install_packages ca-certificates curl gzip procps tar
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
if [ ! -f trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
if [ ! -f trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
fi && \
sha256sum -c trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz trivy-0.31.3-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256
sha256sum -c trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz trivy-0.32.0-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN mkdir /.cache && chmod g+rwX /.cache
ENV APP_VERSION="0.31.3" \
ENV APP_VERSION="0.32.0" \
BITNAMI_APP_NAME="trivy" \
PATH="/opt/bitnami/trivy/bin:$PATH"

View File

@ -1,9 +1,9 @@
{
"trivy": {
"arch": "amd64",
"digest": "63cfb058c342d083415c4a6998a505a4ec91142a34147c421cdec0d901a4b96b",
"digest": "98bc3d386ea3a194f504612674ba751df43ea08760337d1556db05b540349818",
"distro": "debian-11",
"type": "NAMI",
"version": "0.31.3-0"
"version": "0.32.0-0"
}
}

View File

@ -1,9 +1,10 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
set -eu
n=0
max=2
export DEBIAN_FRONTEND=noninteractive
until [ $n -gt $max ]; do
set +e
(

View File

@ -1,5 +1,5 @@
rolling-tags:
- "0"
- "0-debian-11"
- "0.31.3"
- "0.32.0"
- "latest"

View File

@ -28,7 +28,7 @@ $ docker run --name trivy bitnami/trivy: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/).
* [`0`, `0-debian-11`, `0.31.3`, `0.31.3-debian-11-r8`, `latest` (0/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/trivy/0/debian-11/Dockerfile)
* [`0`, `0-debian-11`, `0.32.0`, `0.32.0-debian-11-r0`, `latest` (0/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/trivy/0/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).