Re-label consensys/maru FROM tag into image OCI labels (upstream leaves version/vcs-ref empty) and scrape /metrics on :9090 instead of the 404ing /debug/metrics/prometheus path. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
1.1 KiB
Docker
24 lines
1.1 KiB
Docker
ARG MARU_IMAGE=consensys/maru
|
|
ARG MARU_VERSION=bcfdb4
|
|
FROM ${MARU_IMAGE}:${MARU_VERSION}
|
|
|
|
# Re-declare so LABEL can see the build-arg (FROM clears prior ARGs).
|
|
# Upstream consensys/maru leaves org.label-schema.version/vcs-ref empty;
|
|
# without this, locally-built rpc-*-node images only expose Ubuntu's
|
|
# org.opencontainers.image.version=24.04 — useless for outdated detection.
|
|
ARG MARU_VERSION
|
|
ARG MARU_IMAGE
|
|
LABEL org.opencontainers.image.title="maru" \
|
|
org.opencontainers.image.description="Consensus Client for Linea" \
|
|
org.opencontainers.image.source="https://github.com/Consensys/maru" \
|
|
org.opencontainers.image.version="${MARU_VERSION}" \
|
|
org.opencontainers.image.revision="${MARU_VERSION}" \
|
|
org.label-schema.name="maru" \
|
|
org.label-schema.version="${MARU_VERSION}" \
|
|
org.label-schema.vcs-ref="${MARU_VERSION}" \
|
|
org.label-schema.vcs-url="https://github.com/ConsenSys/maru" \
|
|
vibe.maru.from_image="${MARU_IMAGE}" \
|
|
vibe.maru.from_tag="${MARU_VERSION}"
|
|
|
|
RUN apt-get update && apt-get install -y gettext && rm -rf /var/lib/apt/lists/*
|