1.9.0-debian-11-r0 release

This commit is contained in:
Bitnami Bot
2022-06-06 17:37:31 +00:00
committed by Bitnami Containers
parent 038e30c93c
commit cee220b99f
6 changed files with 70 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
FROM docker.io/bitnami/minideb:bullseye
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-11" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/cosign-1.9.0-0-linux-amd64-debian-11.tar.gz && \
echo "4d1e5ee1ee96de163d442b8ee75cdc95e0c9604f23808a91e1e13f969d36e75b /tmp/bitnami/pkg/cache/cosign-1.9.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/cosign-1.9.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/cosign-1.9.0-0-linux-amd64-debian-11.tar.gz
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN mkdir -p "/cosign-keys" && chmod -R 777 "/cosign-keys"
RUN mkdir /.sigstore && chmod g+rwX /.sigstore
ENV APP_VERSION="1.9.0" \
BITNAMI_APP_NAME="cosign" \
PATH="/opt/bitnami/cosign/bin:$PATH"
WORKDIR /cosign-keys
USER 1001
ENTRYPOINT [ "cosign" ]
CMD [ "--help" ]
@@ -0,0 +1,4 @@
version: '2'
services:
cosign:
image: docker.io/bitnami/cosign:1
@@ -0,0 +1,9 @@
{
"cosign": {
"arch": "amd64",
"digest": "4d1e5ee1ee96de163d442b8ee75cdc95e0c9604f23808a91e1e13f969d36e75b",
"distro": "debian-11",
"type": "NAMI",
"version": "1.9.0-0"
}
}
@@ -0,0 +1,3 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/nami/COPYING
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
@@ -0,0 +1,24 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
n=0
max=2
until [ $n -gt $max ]; do
set +e
(
apt-get update -qq &&
apt-get install -y --no-install-recommends "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
rm -r /var/lib/apt/lists /var/cache/apt/archives
+1 -1
View File
@@ -35,7 +35,7 @@ $ docker-compose up -d
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/).
* [`1`, `1-debian-10`, `1.9.0`, `1.9.0-debian-10-r2`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-cosign/blob/1.9.0-debian-10-r2/1/debian-10/ Dockerfile)
* [`1`, `1-debian-11`, `1.9.0`, `1.9.0-debian-11-r0`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-cosign/blob/1.9.0-debian-11-r0/1/debian-11/ Dockerfile)
Subscribe to project updates by watching the [bitnami/cosign GitHub repo](https://github.com/bitnami/bitnami-docker-cosign).