[bitnami/*] Remove scratch directory (#44982)

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Carlos Rodríguez Hernández
2023-08-18 11:23:51 +02:00
committed by GitHub
parent ae7eda1f79
commit 0486cda709
78 changed files with 0 additions and 51271 deletions
@@ -1,58 +0,0 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
FROM bitnami/minideb:bullseye as builder
ARG TARGETARCH
ENV OS_ARCH="${TARGETARCH:-amd64}"
COPY prebuildfs /
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install required system packages and dependencies
RUN install_packages ca-certificates curl
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
COMPONENTS=( \
"argo-workflows-3.4.9-1-linux-${OS_ARCH}-debian-11" \
) && \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \
curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \
fi && \
sha256sum -c "${COMPONENT}.tar.gz.sha256" && \
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
done
######
FROM scratch
ARG TARGETARCH
ENV OS_ARCH="${TARGETARCH:-amd64}"
LABEL com.vmware.cp.artifact.flavor="sha256:59c774543cd827c5e74f2cc55d77e9e923fdcfe2487c135bbb41d7709b51eef6" \
org.opencontainers.image.base.name="scratch" \
org.opencontainers.image.created="2023-08-04T17:13:28Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.4.9-scratch-r1" \
org.opencontainers.image.title="argo-workflow-cli" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.4.9"
COPY prebuildfs /
COPY rootfs /
COPY --from=builder /opt/bitnami/argo-workflows/hack/nsswitch.conf /etc/nsswitch.conf
COPY --from=builder /opt/bitnami/argo-workflows/bin/argo /argo
COPY --from=builder /opt/bitnami/argo-workflows/hack/ssh_known_hosts /etc/ssh/ssh_known_hosts
ENV APP_VERSION="3.4.9" \
BITNAMI_APP_NAME="argo-workflow-cli"
USER 1001
ENTRYPOINT [ "/argo" ]
@@ -1,9 +0,0 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
version: '2'
services:
argo-workflows:
image: docker.io/bitnami/argo-workflow-cli:3
entrypoint: tail -f /dev/null
@@ -1,8 +0,0 @@
{
"argo-workflows": {
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "3.4.9-1"
}
}
@@ -1,2 +0,0 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
File diff suppressed because it is too large Load Diff
@@ -1,5 +0,0 @@
rolling-tags:
- "3"
- 3-scratch
- 3.4.9
- latest