constellation/debugd/metricbeat/Dockerfile
renovate[bot] dda6d5c16c
deps: update fedora:40 Docker digest to d0207db (#3363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 08:49:43 +02:00

16 lines
730 B
Docker

FROM fedora:40@sha256:d0207dbb078ee261852590b9a8f1ab1f8320547be79a2f39af9f3d23db33735e 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" \
]