Files
fleet-terraform/addons/fleet-osquery/Dockerfile
T
Robert Fairburn f378f62db2 Initial migration (#1)
This will be needed to make the initial tags. Once merged to main, I
will tag with the same module revisions as what exists in the Fleet
repo. We can then test the example module using the new settings.

Once validated, we'll then update the main fleet repo to redirect here
for /terraform and remove everything there. Anything referring to old
tags will still work in-place. Additionally any website references will
be updated as well to reflect these changes.
2025-02-04 10:07:51 -06:00

16 lines
498 B
Docker

ARG FLEET_IMAGE
FROM ${FLEET_IMAGE}
ARG LICENSE_KEY
USER root
RUN wget "https://github.com/osquery/osquery/releases/download/5.12.2/osquery-5.12.2_1.linux_x86_64.tar.gz" -O /tmp/osquery.tar.gz &&\
[ "101b61d760d530be9e41165c858d40353e03412676824b9fb6847a9febaab853" == "$(sha256sum /tmp/osquery.tar.gz | awk '{ print $1 }')" ] &&\
tar -xzvf /tmp/osquery.tar.gz -C / &&\
rm /tmp/osquery.tar.gz
USER fleet
# Might not be needed again, but keep it just in case
CMD ["fleet", "serve"]