22 lines
1.1 KiB
Docker
22 lines
1.1 KiB
Docker
FROM bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages ca-certificates curl procps sudo unzip wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/cluster-autoscaler-1.17.0-0-linux-amd64-debian-10.tar.gz && \
|
|
echo "2c807f479d99ea8714f254dce13899535f31effb2f770b0f94099d9bff477af9 /tmp/bitnami/pkg/cache/cluster-autoscaler-1.17.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.17.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.17.0-0-linux-amd64-debian-10.tar.gz
|
|
RUN apt-get update && apt-get upgrade && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
|
|
COPY rootfs /
|
|
RUN chmod -R g+rwX /opt/bitnami/cluster-autoscaler/
|
|
ENV BITNAMI_APP_NAME="cluster-autoscaler" \
|
|
BITNAMI_IMAGE_VERSION="1.17.0-debian-10-r9" \
|
|
PATH="/opt/bitnami/cluster-autoscaler/bin:$PATH"
|
|
|
|
WORKDIR /opt/bitnami/cluster-autoscaler
|
|
USER 1001
|
|
CMD [ "/run.sh" ]
|