[bitnami/golang] Deprecate branch 1.17 (#6208)

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Miguel Ruiz 2022-09-12 14:15:33 +02:00 committed by GitHub
parent 722336cb5d
commit 122fa907be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 90 deletions

View File

@ -1,40 +0,0 @@
FROM docker.io/bitnami/minideb:bullseye
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.17.13-debian-11-r14" \
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.17.13"
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.17.13-2-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.17.13-2-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/golang-1.17.13-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
fi && \
sha256sum -c golang-1.17.13-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf golang-1.17.13-2-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf golang-1.17.13-2-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.17.13" \
BITNAMI_APP_NAME="golang" \
GOCACHE="/go/.cache" \
GOPATH="/go" \
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
WORKDIR $GOPATH
CMD [ "bash" ]

View File

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

View File

@ -1,9 +0,0 @@
{
"golang": {
"arch": "amd64",
"digest": "4ce1f7c401d1fdd08a8540ca7b25d1e54da44dd88c0fd63e163bb0c43e2c2820",
"distro": "debian-11",
"type": "NAMI",
"version": "1.17.13-2"
}
}

View File

@ -1,3 +0,0 @@
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

@ -1,24 +0,0 @@
#!/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

@ -1,4 +0,0 @@
rolling-tags:
- "1.17"
- "1.17-debian-11"
- "1.17.13"

View File

@ -166,10 +166,6 @@ Re-create your container from the new image.
$ docker run --name golang bitnami/golang:latest
```
## Branch Deprecation Notice
Golang's branch 1.17 is no longer maintained by upstream and is now internally tagged as to be deprecated. This branch will no longer be released in our catalog a month after this notice is published, but already released container images will still persist in the registries. Valid to be removed starting on: 09-08-2022
## Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.