[bitnami/golang] Release 1.19.0-debian-11-r0 (#2074)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2022-08-05 19:55:20 +02:00 committed by GitHub
parent c6d8801222
commit a46df2dd3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 70 additions and 2 deletions

View File

@ -0,0 +1,25 @@
FROM docker.io/bitnami/minideb:bullseye
ENV OS_ARCH="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 wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/golang-1.19.0-0-linux-amd64-debian-11.tar.gz && \
echo "f230e6c620f23be38598ffaafa82200921e54e95d98cc71c3044f8a29d947449 /tmp/bitnami/pkg/cache/golang-1.19.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/golang-1.19.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/golang-1.19.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 mkdir -p "/go/src" "/go/bin" && chmod -R 777 "/go"
ENV APP_VERSION="1.19.0" \
BITNAMI_APP_NAME="golang" \
GOCACHE="/go/.cache" \
GOPATH="/go" \
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
WORKDIR $GOPATH
CMD [ "bash" ]

View File

@ -0,0 +1,6 @@
version: '2'
services:
golang:
tty: true # Enables debugging capabilities when attached to this container.
image: docker.io/bitnami/golang:1.19
command: ["sleep", "infinity"] # To keep the container running

View File

@ -0,0 +1,9 @@
{
"golang": {
"arch": "amd64",
"digest": "f230e6c620f23be38598ffaafa82200921e54e95d98cc71c3044f8a29d947449",
"distro": "debian-11",
"type": "NAMI",
"version": "1.19.0-0"
}
}

View File

@ -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

View File

@ -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

View File

@ -35,7 +35,8 @@ $ 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.18`, `1.18-debian-11`, `1.18.5`, `1.18.5-debian-11-r1`, `latest` (1.18/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/golang/1.18/debian-11/Dockerfile)
* [`1.19`, `1.19-debian-11`, `1.19.0`, `1.19.0-debian-11-r0`, `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.5`, `1.18.5-debian-11-r1` (1.18/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/golang/1.18/debian-11/Dockerfile)
* [`1.17`, `1.17-debian-11`, `1.17.13`, `1.17.13-debian-11-r1` (1.17/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/golang/1.17/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).

View File

@ -2,5 +2,5 @@ version: '2'
services:
golang:
tty: true # Enables debugging capabilities when attached to this container.
image: docker.io/bitnami/golang:1.18
image: docker.io/bitnami/golang:1.19
command: ["sleep", "infinity"] # To keep the container running