fleet/orbit/pkg/packaging/wix
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
..
transform.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
wix.go implement a docker image to package orbit natively in Linux (#6504) 2022-07-11 09:49:13 -03:00
wix_test.go implement a docker image to package orbit natively in Linux (#6504) 2022-07-11 09:49:13 -03:00