[bitnami/golang] Release 1.19.2-debian-11-r1 (#9226)

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

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Fran Mulero <fmulero@vmware.com>
Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Bitnami Bot 2022-10-07 11:43:34 +02:00 committed by GitHub
parent 7c7e739f92
commit 7186de4e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 11 deletions

View File

@ -4,7 +4,7 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="1.19.2-debian-11-r0" \
org.opencontainers.image.ref.name="1.19.2-debian-11-r1" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/golang" \
org.opencontainers.image.title="golang" \
org.opencontainers.image.vendor="VMware, Inc." \
@ -19,13 +19,18 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install required system packages and dependencies
RUN install_packages build-essential ca-certificates curl git pkg-config procps unzip
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
if [ ! -f golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
fi && \
sha256sum -c golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz golang-1.19.2-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256
COMPONENTS=( \
"golang-1.19.2-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
RUN apt-get autoremove --purge -y curl && \
apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives

View File

@ -1,9 +1,9 @@
{
"golang": {
"arch": "amd64",
"digest": "79b8fd69bc6e792f15d1da2d88a20fc87c214e89abaa7a49bac8d0246c051557",
"digest": "c494d35fa5ddcd5f06d8187332b7405c00c4025bbac67059a5acced39862a2bf",
"distro": "debian-11",
"type": "NAMI",
"version": "1.19.2-0"
"version": "1.19.2-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.19`, `1.19-debian-11`, `1.19.2`, `1.19.2-debian-11-r0`, `latest` (1.19/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/golang/1.19/debian-11/Dockerfile)
* [`1.19`, `1.19-debian-11`, `1.19.2`, `1.19.2-debian-11-r1`, `latest` (1.19/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/golang/1.19/debian-11/Dockerfile)
* [`1.18`, `1.18-debian-11`, `1.18.7`, `1.18.7-debian-11-r1` (1.18/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/golang/1.18/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).