From 122fa907bea418b9feed52fca7d9abb97a4cf3bd Mon Sep 17 00:00:00 2001 From: Miguel Ruiz Date: Mon, 12 Sep 2022 14:15:33 +0200 Subject: [PATCH] [bitnami/golang] Deprecate branch 1.17 (#6208) Signed-off-by: Miguel Ruiz Signed-off-by: Miguel Ruiz --- bitnami/golang/1.17/debian-11/Dockerfile | 40 ------------------- .../golang/1.17/debian-11/docker-compose.yml | 6 --- .../opt/bitnami/.bitnami_components.json | 9 ----- .../opt/bitnami/licenses/licenses.txt | 3 -- .../prebuildfs/usr/sbin/install_packages | 24 ----------- bitnami/golang/1.17/debian-11/tags-info.yaml | 4 -- bitnami/golang/README.md | 4 -- 7 files changed, 90 deletions(-) delete mode 100644 bitnami/golang/1.17/debian-11/Dockerfile delete mode 100644 bitnami/golang/1.17/debian-11/docker-compose.yml delete mode 100644 bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json delete mode 100644 bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt delete mode 100755 bitnami/golang/1.17/debian-11/prebuildfs/usr/sbin/install_packages delete mode 100644 bitnami/golang/1.17/debian-11/tags-info.yaml diff --git a/bitnami/golang/1.17/debian-11/Dockerfile b/bitnami/golang/1.17/debian-11/Dockerfile deleted file mode 100644 index 3d924cb3ec82..000000000000 --- a/bitnami/golang/1.17/debian-11/Dockerfile +++ /dev/null @@ -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" ] diff --git a/bitnami/golang/1.17/debian-11/docker-compose.yml b/bitnami/golang/1.17/debian-11/docker-compose.yml deleted file mode 100644 index c9459fc4fc55..000000000000 --- a/bitnami/golang/1.17/debian-11/docker-compose.yml +++ /dev/null @@ -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 diff --git a/bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index 9111f7a77182..000000000000 --- a/bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "golang": { - "arch": "amd64", - "digest": "4ce1f7c401d1fdd08a8540ca7b25d1e54da44dd88c0fd63e163bb0c43e2c2820", - "distro": "debian-11", - "type": "NAMI", - "version": "1.17.13-2" - } -} \ No newline at end of file diff --git a/bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index c76ba31f3b8a..000000000000 --- a/bitnami/golang/1.17/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -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 diff --git a/bitnami/golang/1.17/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/golang/1.17/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index c9577647443b..000000000000 --- a/bitnami/golang/1.17/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -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 diff --git a/bitnami/golang/1.17/debian-11/tags-info.yaml b/bitnami/golang/1.17/debian-11/tags-info.yaml deleted file mode 100644 index 599780685f33..000000000000 --- a/bitnami/golang/1.17/debian-11/tags-info.yaml +++ /dev/null @@ -1,4 +0,0 @@ -rolling-tags: - - "1.17" - - "1.17-debian-11" - - "1.17.13" diff --git a/bitnami/golang/README.md b/bitnami/golang/README.md index 98c72bf5a945..b41b4f738e35 100644 --- a/bitnami/golang/README.md +++ b/bitnami/golang/README.md @@ -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.