1.18.1-debian-10-r34 release

This commit is contained in:
Bitnami Bot
2020-05-01 07:53:24 +00:00
parent 48bf1f8dc0
commit 0bbf1478a0
3 changed files with 32 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl procps sudo unzip wget
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.18.1-0-linux-amd64-debian-10.tar.gz && \
echo "a699096b859c8577da62a08fb623b179ceac040bfc9b64a2808563d74671576b /tmp/bitnami/pkg/cache/cluster-autoscaler-1.18.1-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.18.1-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
@@ -13,7 +14,11 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
RUN chmod -R g+rwX /opt/bitnami/cluster-autoscaler/
ENV BITNAMI_APP_NAME="cluster-autoscaler" \
BITNAMI_IMAGE_VERSION="1.18.1-debian-10-r33" \
BITNAMI_IMAGE_VERSION="1.18.1-debian-10-r34" \
HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux" \
PATH="/opt/bitnami/cluster-autoscaler/bin:$PATH"
WORKDIR /opt/bitnami/cluster-autoscaler

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

@@ -50,7 +50,7 @@ Non-root container images add an extra layer of security and are generally recom
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-debian-10`, `1.18.1-debian-10-r33`, `1`, `1.18.1`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-cluster-autoscaler/blob/1.18.1-debian-10-r33/1/debian-10/Dockerfile)
* [`1-debian-10`, `1.18.1-debian-10-r34`, `1`, `1.18.1`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-cluster-autoscaler/blob/1.18.1-debian-10-r34/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/cluster-autoscaler GitHub repo](https://github.com/bitnami/bitnami-docker-cluster-autoscaler).