mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
[bitnami/golang] Release 1.19.1-debian-11-r0 (#5348)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -1,32 +1,36 @@
|
||||
FROM docker.io/bitnami/minideb:bullseye
|
||||
ENV OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
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.0-debian-11-r10" \
|
||||
org.opencontainers.image.ref.name="1.19.1-debian-11-r0" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/golang" \
|
||||
org.opencontainers.image.title="golang" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="1.19.0"
|
||||
org.opencontainers.image.version="1.19.1"
|
||||
|
||||
ENV OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git gzip libc6 pkg-config procps tar unzip
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
if [ ! -f golang-1.19.0-3-linux-amd64-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.19.0-3-linux-amd64-debian-11.tar.gz -O ; \
|
||||
if [ ! -f golang-1.19.1-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.19.1-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.19.1-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
|
||||
fi && \
|
||||
echo "5ba5aeeccf6b1f10f8f97af73e3320feae4cf3a40abf2b4456c5119faf48ca04 golang-1.19.0-3-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf golang-1.19.0-3-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
||||
rm -rf golang-1.19.0-3-linux-amd64-debian-11.tar.gz
|
||||
sha256sum -c golang-1.19.1-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
|
||||
tar -zxf golang-1.19.1-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
||||
rm -rf golang-1.19.1-0-linux-${OS_ARCH}-debian-11.tar.gz
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN mkdir -p "/go/src" "/go/bin" && chmod -R 777 "/go"
|
||||
|
||||
ENV APP_VERSION="1.19.0" \
|
||||
ENV APP_VERSION="1.19.1" \
|
||||
BITNAMI_APP_NAME="golang" \
|
||||
GOCACHE="/go/.cache" \
|
||||
GOPATH="/go" \
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"golang": {
|
||||
"arch": "amd64",
|
||||
"digest": "5ba5aeeccf6b1f10f8f97af73e3320feae4cf3a40abf2b4456c5119faf48ca04",
|
||||
"digest": "4dea3e5233f7c052d49282211dcd998fee1f6f1ec81a5652892e33c6b15e0f73",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.19.0-3"
|
||||
"version": "1.19.1-0"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "1.19"
|
||||
- "1.19-debian-11"
|
||||
- "1.19.0"
|
||||
- "1.19.1"
|
||||
- "latest"
|
||||
|
||||
Reference in New Issue
Block a user