fleet/tools/fleetd-linux/centos-stream-10/Dockerfile
Lucas Manuel Rodriguez 2781193cdd
Added fleetd docker images to test/develop linux fleetd features (#25027)
Useful while testing/developing #24385.

In the future we can push some of these to Fleet's Docker Hub and
include them in `fleetctl preview` to allow demoing of e.g. script
execution on linux devices.
2024-12-27 16:16:39 -03:00

10 lines
367 B
Docker

FROM quay.io/centos/centos@sha256:3a3a88a9c8c47dc60b8af3be0779d74c2d3da11a32082ac1a4c329863c422df3
# Pinning version because without the pin it's failing with host not found for mirrorlist.centos.org.
COPY fleet-osquery_amd64.rpm /
COPY run-fleetd.sh /
RUN chmod +x /run-fleetd.sh
RUN dnf install --assumeyes /fleet-osquery_amd64.rpm
ENTRYPOINT ["/run-fleetd.sh"]