| ADD file:1582deb90400e4ba7841816ec06c91038e252bb107fb018609202c6683f17bfb 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=arm64 |
| ARG OS=linux |
| COPY .build/linux-arm64/prometheus /bin/prometheus # buildkit |
| COPY .build/linux-arm64/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=arm64 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"] |