[bitnami/trivy] Release 0.45.0-debian-11-r0 (#46912)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-09-01 10:39:15 +02:00
committed by GitHub
parent e1c0af9ae0
commit a97e81b00b
4 changed files with 31 additions and 7 deletions

View File

@@ -7,13 +7,13 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-08-28T07:09:55Z" \
org.opencontainers.image.created="2023-09-01T08:04:07Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="0.44.1-debian-11-r15" \
org.opencontainers.image.ref.name="0.45.0-debian-11-r0" \
org.opencontainers.image.title="trivy" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="0.44.1"
org.opencontainers.image.version="0.45.0"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -26,7 +26,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl procps
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
COMPONENTS=( \
"trivy-0.44.1-1-linux-${OS_ARCH}-debian-11" \
"trivy-0.45.0-0-linux-${OS_ARCH}-debian-11" \
) && \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -43,7 +43,7 @@ RUN apt-get autoremove --purge -y curl && \
RUN chmod g+rwX /opt/bitnami
RUN mkdir /.cache && chmod g+rwX /.cache
ENV APP_VERSION="0.44.1" \
ENV APP_VERSION="0.45.0" \
BITNAMI_APP_NAME="trivy" \
PATH="/opt/bitnami/trivy/bin:$PATH"

View File

@@ -3,6 +3,6 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "0.44.1-1"
"version": "0.45.0-0"
}
}

View File

@@ -0,0 +1,24 @@
#!/bin/sh
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
set -u
if [ $# -eq 0 ]; then
>&2 echo "No arguments provided"
exit 1
fi
script=$1
exit_code="${2:-96}"
fail_if_not_present="${3:-n}"
if test -f "$script"; then
sh $script
if [ $? -ne 0 ]; then
exit $((exit_code))
fi
elif [ "$fail_if_not_present" = "y" ]; then
>&2 echo "script not found: $script"
exit 127
fi

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "0"
- 0-debian-11
- 0.44.1
- 0.45.0
- latest