mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 05:04:05 -08:00
ceb844aa1a
This pull request removes the example files for the console feature and the associated JavaScript libraries. The console feature itself remains intact and fully functional; only the example files have been removed. The removed examples relied on outdated JavaScript libraries that have known security vulnerabilities. I am aware of existing users of this feature; this is why the feature remains intact. Users can continue using the console feature by supplying their own JavaScript and templates. Signed-off-by: Julien <roidelapluie@o11y.eu>
24 lines
850 B
Docker
24 lines
850 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
|
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
COPY .build/${OS}-${ARCH}/prometheus /bin/prometheus
|
|
COPY .build/${OS}-${ARCH}/promtool /bin/promtool
|
|
COPY documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml
|
|
COPY LICENSE /LICENSE
|
|
COPY NOTICE /NOTICE
|
|
COPY npm_licenses.tar.bz2 /npm_licenses.tar.bz2
|
|
|
|
WORKDIR /prometheus
|
|
RUN chown -R nobody:nobody /etc/prometheus /prometheus
|
|
|
|
USER nobody
|
|
EXPOSE 9090
|
|
VOLUME [ "/prometheus" ]
|
|
ENTRYPOINT [ "/bin/prometheus" ]
|
|
CMD [ "--config.file=/etc/prometheus/prometheus.yml", \
|
|
"--storage.tsdb.path=/prometheus" ]
|