constellation/debugd/metricbeat/Dockerfile
renovate[bot] 28433ec93e
deps: update fedora:42 Docker digest to aa7befe (#3978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-17 10:35:22 +02:00

15 lines
730 B
Docker

FROM fedora:42@sha256:aa7befe5cfd1f0e062728c16453cd1c479d4134c7b85eac00172f3025ab0d522 AS release
RUN dnf install -y https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-8.9.2-x86_64.rpm
COPY debugd/metricbeat/templates/ /usr/share/constellogs/templates/
# -e enables logging to stderr
# -E http.enabled=true enables http endpoint as seen in https://github.com/elastic/helm-charts/blob/main/metricbeat/templates/daemonset.yaml
# --path.home and --path.data set the paths to the metricbeat binary and data directory
ENTRYPOINT [ "/usr/share/metricbeat/bin/metricbeat", \
"-e", \
"-E", "http.enabled=true", \
"--path.home", "/usr/share/metricbeat", \
"--path.data", "/usr/share/metricbeat/data" \
]