constellation/debugd/metricbeat/Dockerfile
renovate[bot] ced03202a9
deps: update fedora:38 Docker digest to 3f01c8f (#2749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 18:07:20 +01:00

16 lines
730 B
Docker

FROM fedora:38@sha256:3f01c8f79691df76331cb4bb0944794a60850475e859c15e49513fcbe0a3d88a 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" \
]