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 libc6 wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/cluster-autoscaler-1.15.0-0-linux-amd64-debian-9.tar.gz && \
|
|
echo "9d5c7124288be6509409c1c54cd49dc94e5367a73dd37b999ce9429d7e62cea9 /tmp/bitnami/pkg/cache/cluster-autoscaler-1.15.0-0-linux-amd64-debian-9.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.15.0-0-linux-amd64-debian-9.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/cluster-autoscaler-1.15.0-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.15.0-debian-9-r13" \
|
|
PATH="/opt/bitnami/cluster-autoscaler/bin:$PATH"
|
|
|
|
WORKDIR /opt/bitnami/cluster-autoscaler
|
|
USER 1001
|
|
CMD [ "/run.sh" ]
|