| ADD file:a4548136973b9ff240804cde3b9d1ce422dac3bd59f939fa4f936186feee077e in / |
| CMD ["sh"] |
| MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com> |
| COPY /rootfs / # buildkit |
| LABEL maintainer=The Prometheus Authors <prometheus-developers@googlegroups.com> |
| LABEL org.opencontainers.image.source=https://github.com/prometheus/prometheus |
| ARG ARCH=s390x |
| ARG OS=linux |
| COPY .build/linux-s390x/prometheus /bin/prometheus # buildkit |
| COPY .build/linux-s390x/promtool /bin/promtool # buildkit |
| COPY documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml # buildkit |
| COPY LICENSE /LICENSE # buildkit |
| COPY NOTICE /NOTICE # buildkit |
| COPY npm_licenses.tar.bz2 /npm_licenses.tar.bz2 # buildkit |
| WORKDIR /prometheus |
| RUN |2 ARCH=s390x OS=linux /bin/sh -c chown -R nobody:nobody /etc/prometheus /prometheus && chmod g+w /prometheus # buildkit |
| USER nobody |
| EXPOSE map[9090/tcp:{}] |
| VOLUME [/prometheus] |
| ENTRYPOINT ["/bin/prometheus"] |
| CMD ["--config.file=/etc/prometheus/prometheus.yml" "--storage.tsdb.path=/prometheus"] |