mirror of
https://github.com/bitnami/containers.git
synced 2026-02-12 23:27:17 +08:00
[bitnami/trivy] Release 0.45.0-debian-11-r0 (#46912)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "0.44.1-1"
|
||||
"version": "0.45.0-0"
|
||||
}
|
||||
}
|
||||
24
bitnami/trivy/0/debian-11/prebuildfs/usr/sbin/run-script
Executable file
24
bitnami/trivy/0/debian-11/prebuildfs/usr/sbin/run-script
Executable 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
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "0"
|
||||
- 0-debian-11
|
||||
- 0.44.1
|
||||
- 0.45.0
|
||||
- latest
|
||||
|
||||
Reference in New Issue
Block a user