diff --git a/bitnami/cluster-autoscaler/1/debian-10/Dockerfile b/bitnami/cluster-autoscaler/1/debian-10/Dockerfile deleted file mode 100644 index 58c035d009d7..000000000000 --- a/bitnami/cluster-autoscaler/1/debian-10/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM docker.io/bitnami/minideb:buster -LABEL maintainer "Bitnami " - -ENV HOME="/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-10" \ - OS_NAME="linux" - -COPY prebuildfs / -# Install required system packages and dependencies -RUN install_packages ca-certificates curl gzip procps tar wget -RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/cluster-autoscaler-1.24.0-0-linux-amd64-debian-10.tar.gz && \ - echo "953c3f9dc52aa009e92028b0b26b143500184e4c836715375cc5fdabf57ba653 /tmp/bitnami/pkg/cache/cluster-autoscaler-1.24.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \ - tar -zxf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.24.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ - rm -rf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.24.0-0-linux-amd64-debian-10.tar.gz -RUN apt-get update && apt-get upgrade -y && \ - rm -r /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami -RUN ln -sf /opt/bitnami/cluster-autoscaler/bin/cluster-autoscaler /opt/bitnami/cluster-autoscaler/cluster-autoscaler - -COPY rootfs / -RUN chmod -R g+rwX /opt/bitnami/cluster-autoscaler/ -ENV APP_VERSION="1.24.0" \ - BITNAMI_APP_NAME="cluster-autoscaler" \ - PATH="/opt/bitnami/cluster-autoscaler/bin:$PATH" - -WORKDIR /opt/bitnami/cluster-autoscaler -USER 1001 -CMD [ "/run.sh" ] diff --git a/bitnami/cluster-autoscaler/1/debian-10/docker-compose.yml b/bitnami/cluster-autoscaler/1/debian-10/docker-compose.yml deleted file mode 100644 index 5cc73a5a8c94..000000000000 --- a/bitnami/cluster-autoscaler/1/debian-10/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: '2' - -services: - cluster-autoscaler: - image: docker.io/bitnami/cluster-autoscaler:1 - volumes: - - cluster-autoscaler_data:/bitnami -volumes: - cluster-autoscaler_data: - driver: local diff --git a/bitnami/cluster-autoscaler/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/cluster-autoscaler/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index 897f417fa163..000000000000 --- a/bitnami/cluster-autoscaler/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "cluster-autoscaler": { - "arch": "amd64", - "digest": "953c3f9dc52aa009e92028b0b26b143500184e4c836715375cc5fdabf57ba653", - "distro": "debian-10", - "type": "NAMI", - "version": "1.24.0-0" - } -} \ No newline at end of file diff --git a/bitnami/cluster-autoscaler/1/debian-10/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/cluster-autoscaler/1/debian-10/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index c76ba31f3b8a..000000000000 --- a/bitnami/cluster-autoscaler/1/debian-10/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/cluster-autoscaler/1/debian-10/prebuildfs/usr/sbin/install_packages b/bitnami/cluster-autoscaler/1/debian-10/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index c9577647443b..000000000000 --- a/bitnami/cluster-autoscaler/1/debian-10/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/cluster-autoscaler/1/debian-10/rootfs/run.sh b/bitnami/cluster-autoscaler/1/debian-10/rootfs/run.sh deleted file mode 100755 index c8fb9790d1b2..000000000000 --- a/bitnami/cluster-autoscaler/1/debian-10/rootfs/run.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# Copyright 2017 The Kubernetes Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# A wrapper script trapping SIGTERM (docker stop) and passing the signal to -# cluster-autoscaler binary. - -if [ -z "$LOG_OUTPUT" ]; then - LOG_OUTPUT="/opt/bitnami/cluster-autoscaler/log/cluster_autoscaler.log" -fi - -/opt/bitnami/cluster-autoscaler/bin/cluster-autoscaler "$@" 1>>$LOG_OUTPUT 2>&1 & -pid="$!" -# shellcheck disable=SC2064 -trap "kill -15 $pid" 15 - -# We need a loop here, because receiving signal breaks out of wait. -# kill -0 doesn't send any signal, but it still checks if the process is running. -while kill -0 $pid > /dev/null 2>&1; do - wait $pid -done -exit "$?"