mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 23:10:53 +08:00
24 lines
1.0 KiB
Docker
24 lines
1.0 KiB
Docker
FROM bitnami/minideb:jessie as buildenv
|
|
|
|
RUN install_packages ca-certificates wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/pushgateway-0.5.2-0-linux-x64-debian-8.tar.gz && \
|
|
echo "746cf208fe6fc4afe4e5f24cf70a0ab7165354cebfffb4f5411923418f415f92 /tmp/bitnami/pkg/cache/pushgateway-0.5.2-0-linux-x64-debian-8.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/pushgateway-0.5.2-0-linux-x64-debian-8.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/pushgateway-0.5.2-0-linux-x64-debian-8.tar.gz
|
|
|
|
##################
|
|
|
|
FROM bitnami/minideb:jessie
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
COPY --from=buildenv /opt/bitnami/pushgateway /opt/bitnami/pushgateway
|
|
ENV BITNAMI_APP_NAME="pushgateway" \
|
|
BITNAMI_IMAGE_VERSION="0.5.2-debian-8-r30" \
|
|
PATH="/opt/bitnami/pushgateway/bin:$PATH"
|
|
|
|
EXPOSE 9091
|
|
|
|
WORKDIR /opt/bitnami/pushgateway
|
|
USER 1001
|
|
ENTRYPOINT ["/opt/bitnami/pushgateway/bin/pushgateway"]
|