FROM docker.elastic.co/beats/packetbeat-oss:7.12.1 COPY --chown=root:packetbeat packetbeat.yml /usr/share/packetbeat/packetbeat.yml #RUN packetbeat test config HEALTHCHECK CMD curl --fail http://localhost:5066/stats || exit 1