synapsecns/sanguine

View on GitHub
docker/promexporter.Dockerfile

Summary

Maintainability
Test Coverage
FROM gcr.io/distroless/static:latest

LABEL org.label-schema.description="Prometheus Exporter Docker Image"
LABEL org.label-schema.name="ghcr.io/synapsecns/sanguine/contrib/promexporter"
LABEL org.label-schema.schema-version="1.0.0"
LABEL org.label-schema.vcs-url="https://github.com/synapsecns/sanguine"
LABEL org.opencontainers.image.source="https://github.com/synapsecns/sanguine"
LABEL org.opencontainers.image.description="Prometheus Exporter Docker image"

USER nonroot:nonroot

WORKDIR /app
COPY --chown=nonroot:nonroot promexporter /app/promexporter



ENTRYPOINT ["/app/promexporter"]