mirror of
https://github.com/prometheus/prometheus.git
synced 2026-07-12 10:36:29 -04:00
The mantine-ui Vite build now generates a third-party-licenses.txt via rollup-plugin-license, collecting the notices of every npm package bundled into the UI. The file is embedded in the binary and served at /assets/third-party-licenses.txt. This replaces the npm_licenses.tar.bz2 archive, which was built by sweeping node_modules for license* files and shipped as a separate file in release tarballs and Docker images. Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
29 lines
1.2 KiB
Docker
29 lines
1.2 KiB
Docker
ARG DISTROLESS_ARCH="amd64"
|
|
|
|
# Use DISTROLESS_ARCH for base image selection (handles armv7->arm mapping).
|
|
FROM gcr.io/distroless/static-debian13:nonroot-${DISTROLESS_ARCH}
|
|
# Base image sets USER to 65532:65532 (nonroot user).
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
|
|
LABEL org.opencontainers.image.authors="The Prometheus Authors"
|
|
LABEL org.opencontainers.image.vendor="Prometheus"
|
|
LABEL org.opencontainers.image.title="Prometheus"
|
|
LABEL org.opencontainers.image.description="The Prometheus monitoring system and time series database"
|
|
LABEL org.opencontainers.image.source="https://github.com/prometheus/prometheus"
|
|
LABEL org.opencontainers.image.url="https://github.com/prometheus/prometheus"
|
|
LABEL org.opencontainers.image.documentation="https://prometheus.io/docs"
|
|
LABEL org.opencontainers.image.licenses="Apache License 2.0"
|
|
LABEL io.prometheus.image.variant="distroless"
|
|
|
|
COPY documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml
|
|
COPY LICENSE NOTICE /
|
|
COPY .build/${OS}-${ARCH}/prometheus /bin/prometheus
|
|
COPY .build/${OS}-${ARCH}/promtool /bin/promtool
|
|
|
|
WORKDIR /prometheus
|
|
EXPOSE 9090
|
|
ENTRYPOINT [ "/bin/prometheus" ]
|
|
CMD [ "--config.file=/etc/prometheus/prometheus.yml", \
|
|
"--storage.tsdb.path=/prometheus" ]
|