Jerome
08/12/2022, 12:53 PMdocker run -v "$(pwd):/build" fleetdm/fleetctl package --type=msi
but I'm facing errors with all types
With deb
:
Error: initialize updates: failed to get osqueryd: download "osqueryd/linux/stable/osqueryd": exec check failed "/tmp/orbit-package2691724252/root/opt/orbit/staging/osqueryd": exec new version: : fork/exec /tmp/orbit-package2691724252/root/opt/orbit/staging/osqueryd: no such file or directory
With `pkg`:
Error: build pkg: cpio Payload: wait cpio: exit status 1
With `msi`:
Error: package root files: heat failed: exec: "docker": executable file not found in $PATH
Do I miss a step or something?
Because if I use fleetctl binary directly and run fleetctl package --type=deb --fleet-desktop --fleet-url=<https://fleet.test.com:8090> --enroll-secret=secret
, it works well for all platform typesroberto
08/12/2022, 1:54 PMfleetdm/fleetctl
image that's published in Docker Hub doesn't contain this functionality yet, that's why you're getting those errors.
If you want to give it a try anyways, you can either:
1. Use fleetdm/fleetctl:v4.18.0-beta
instead
2. Build the image locallyJerome
08/12/2022, 2:36 PM