20 lines
1.0 KiB
Docker
20 lines
1.0 KiB
Docker
FROM bitnami/minideb:stretch
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages ca-certificates curl procps unzip wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/cluster-autoscaler-1.16.3-0-linux-amd64-debian-9.tar.gz && \
|
|
echo "be01185bba34ba128015f3a745656dcc3c6db95339b0f30dd90d6888e8533b45 /tmp/bitnami/pkg/cache/cluster-autoscaler-1.16.3-0-linux-amd64-debian-9.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.16.3-0-linux-amd64-debian-9.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.16.3-0-linux-amd64-debian-9.tar.gz
|
|
|
|
COPY rootfs /
|
|
RUN chmod -R g+rwX /opt/bitnami/cluster-autoscaler/
|
|
ENV BITNAMI_APP_NAME="cluster-autoscaler" \
|
|
BITNAMI_IMAGE_VERSION="1.16.3-debian-9-r0" \
|
|
PATH="/opt/bitnami/cluster-autoscaler/bin:$PATH"
|
|
|
|
WORKDIR /opt/bitnami/cluster-autoscaler
|
|
USER 1001
|
|
CMD [ "/run.sh" ]
|