mirror of
https://github.com/bitnami/containers.git
synced 2026-10-19 10:12:29 +02:00
[bitnami/*] Remove scratch directory (#44982)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
@@ -1,57 +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-workflow-controller-3.4.10-0-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-16T01:24:17Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="3.4.10-scratch-r0" \
|
||||
org.opencontainers.image.title="argo-workflow-controller" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="3.4.10"
|
||||
|
||||
COPY prebuildfs /
|
||||
COPY rootfs /
|
||||
COPY --from=builder /opt/bitnami/../../usr/share/zoneinfo /usr/share/zoneinfo
|
||||
COPY --from=builder /opt/bitnami/argo-workflow-controller/bin/workflow-controller /workflow-controller
|
||||
|
||||
ENV APP_VERSION="3.4.10" \
|
||||
BITNAMI_APP_NAME="argo-workflow-controller"
|
||||
|
||||
USER 1001
|
||||
|
||||
ENTRYPOINT [ "/workflow-controller" ]
|
||||
@@ -1,8 +0,0 @@
|
||||
# Copyright VMware, Inc.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
argo-workflow-controller:
|
||||
image: docker.io/bitnami/argo-workflow-controller:3
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"argo-workflow-controller": {
|
||||
"arch": "amd64",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "3.4.10-0"
|
||||
}
|
||||
}
|
||||
-2
@@ -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.10
|
||||
- latest
|
||||
Reference in New Issue
Block a user