|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
# Copyright VMware, Inc.
|
|
|
|
|
# Copyright Broadcom, Inc. All Rights Reserved.
|
|
|
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
|
|
|
|
|
|
FROM docker.io/bitnami/minideb:bookworm
|
|
|
|
|
@@ -7,15 +7,15 @@ ARG TARGETARCH
|
|
|
|
|
|
|
|
|
|
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
|
|
|
|
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
|
|
|
|
org.opencontainers.image.created="2024-05-04T15:03:44Z" \
|
|
|
|
|
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
|
|
|
|
org.opencontainers.image.created="2024-05-09T15:50:24Z" \
|
|
|
|
|
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
|
|
|
|
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/trivy/README.md" \
|
|
|
|
|
org.opencontainers.image.licenses="Apache-2.0" \
|
|
|
|
|
org.opencontainers.image.ref.name="0.50.4-debian-12-r2" \
|
|
|
|
|
org.opencontainers.image.ref.name="0.51.1-debian-12-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.50.4"
|
|
|
|
|
org.opencontainers.image.vendor="Broadcom, Inc." \
|
|
|
|
|
org.opencontainers.image.version="0.51.1"
|
|
|
|
|
|
|
|
|
|
ENV HOME="/" \
|
|
|
|
|
OS_ARCH="${TARGETARCH:-amd64}" \
|
|
|
|
|
@@ -28,7 +28,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-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.50.4-0-linux-${OS_ARCH}-debian-12" \
|
|
|
|
|
"trivy-0.51.1-0-linux-${OS_ARCH}-debian-12" \
|
|
|
|
|
) ; \
|
|
|
|
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
|
|
|
|
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
|
|
|
|
@@ -46,7 +46,7 @@ RUN chmod g+rwX /opt/bitnami
|
|
|
|
|
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
|
|
|
|
RUN mkdir /.cache && chmod g+rwX /.cache
|
|
|
|
|
|
|
|
|
|
ENV APP_VERSION="0.50.4" \
|
|
|
|
|
ENV APP_VERSION="0.51.1" \
|
|
|
|
|
BITNAMI_APP_NAME="trivy" \
|
|
|
|
|
PATH="/opt/bitnami/trivy/bin:$PATH"
|
|
|
|
|
|
|
|
|
|
|