fleet/orbit/pkg
Roberto Dip f7dd8c86cd
implement a docker image to package orbit natively in Linux (#6504)
Related to #6364 and #6363, this:

- Adds a new Docker image, `fleetdm/fleetctl` equipped with all necessary dependencies to build Fleet-osquery binaries for all platforms
- Modifies the package generation logic to special case this scenario via an environment variable `FLEETCTL_NATIVE_TOOLING`
- Adds a new GitHub workflow to test this

There are more details in the README, but part of the special-casing logic is in place to output the binaries to a folder named `build` when they are run with `FLEETCTL_NATIVE_TOOLING`, this is so we can persist the binary generated by the docker container via a bind mount:

```bash
docker run -v "$(pwd):/build" fleetdm/fleetctl package --type=msi
```

To test this changeset, I have generated packages for all platforms, both via the new Docker image and via the classic `fleetctl package`.
2022-07-11 09:49:13 -03:00
..
build Add user agent to Orbit HTTP client (#5429) 2022-05-02 11:03:49 -07:00
constant Shebang should be on the first line of script (#5747) 2022-05-23 19:18:19 -03:00
execuser Fix Fleet Desktop opening of URL on Ubuntu 21/22 (#6314) 2022-06-21 16:26:14 -03:00
insecure Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
osquery Orbit to cleanup extension socket at startup (#6474) 2022-07-01 16:56:37 -03:00
packaging implement a docker image to package orbit natively in Linux (#6504) 2022-07-11 09:49:13 -03:00
platform Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
process Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393) 2022-03-15 16:04:12 -03:00
table Upgrade osquery-go (#4728) 2022-03-23 12:15:37 -03:00
update test: use T.TempDir to create temporary test directory (#6080) 2022-06-13 10:20:38 -03:00