[bitnami/oras] Release 0.15.0-scratch-r2 (#9308)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2022-10-07 05:59:01 +02:00 committed by GitHub
parent f9639568a1
commit 9bab1e8ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 11 deletions

View File

@ -11,13 +11,18 @@ 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/ && \
if [ ! -f oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
fi && \
sha256sum -c oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz oras-0.15.0-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256
COMPONENTS=( \
"oras-0.15.0-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
######
@ -29,7 +34,7 @@ ENV OS_ARCH="${TARGETARCH:-amd64}"
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="0.15.0-scratch-r1" \
org.opencontainers.image.ref.name="0.15.0-scratch-r2" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/oras" \
org.opencontainers.image.title="oras" \
org.opencontainers.image.vendor="VMware, Inc." \

View File

@ -1,9 +1,9 @@
{
"oras": {
"arch": "amd64",
"digest": "669ba7c2707da64f10b5a89e22dbfe45346031e2fb212b8915de0bdc3b54c330",
"digest": "5a9ebcd55ae08243b2e7cd47567f284d2cec649ced17cd6e7b39d4c4ac895cd5",
"distro": "debian-11",
"type": "NAMI",
"version": "0.15.0-0"
"version": "0.15.0-1"
}
}

View File

@ -30,7 +30,7 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`0`, `0-scratch`, `0.15.0`, `0.15.0-scratch-r1`, `latest` (0/scratch/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/oras/0/scratch/Dockerfile)
* [`0`, `0-scratch`, `0.15.0`, `0.15.0-scratch-r2`, `latest` (0/scratch/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/oras/0/scratch/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).