mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 01:07:20 +08:00
22 lines
1.2 KiB
Docker
22 lines
1.2 KiB
Docker
FROM bitnami/minideb:stretch
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages ca-certificates wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/prometheus-operator-0.33.0-0-linux-amd64-debian-9.tar.gz && \
|
|
echo "97b3f300a14026967e75780c7a5eb9768f3bbae48d88ae5f0f1ebc9f05c2fb6a /tmp/bitnami/pkg/cache/prometheus-operator-0.33.0-0-linux-amd64-debian-9.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/prometheus-operator-0.33.0-0-linux-amd64-debian-9.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/prometheus-operator-0.33.0-0-linux-amd64-debian-9.tar.gz
|
|
RUN ln -sf /opt/bitnami/prometheus-operator/bin/operator /bin/operator
|
|
RUN ln -sf /opt/bitnami/prometheus-operator/bin/prometheus-config-reloader /bin/prometheus-config-reloader
|
|
|
|
ENV BITNAMI_APP_NAME="prometheus-operator" \
|
|
BITNAMI_IMAGE_VERSION="0.33.0-debian-9-r3" \
|
|
PATH="/opt/bitnami/prometheus-operator/bin:$PATH"
|
|
|
|
EXPOSE 8080
|
|
|
|
WORKDIR /opt/bitnami/prometheus-operator
|
|
USER 1001
|
|
ENTRYPOINT [ "/bin/operator" ]
|