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/oraclelinux-extras:7-r49 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-x86_64-ol-7.tar.gz && \
|
|
echo "53faf5ca879820c21a63dc9806ee235fc40a852e389e564cf6e968de747beba7 /tmp/bitnami/pkg/cache/pushgateway-0.5.2-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/pushgateway-0.5.2-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/pushgateway-0.5.2-0-linux-x86_64-ol-7.tar.gz
|
|
|
|
##################
|
|
|
|
FROM bitnami/oraclelinux-extras:7-r49
|
|
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-ol-7-r32" \
|
|
PATH="/opt/bitnami/pushgateway/bin:$PATH"
|
|
|
|
EXPOSE 9091
|
|
|
|
WORKDIR /opt/bitnami/pushgateway
|
|
USER 1001
|
|
ENTRYPOINT ["/opt/bitnami/pushgateway/bin/pushgateway"]
|