Skip to content

FreeBSD CI: cross-compile binaries#4180

Merged
tonistiigi merged 1 commit intomoby:masterfrom
akhramov:feature/cross-compile-binaries-freebsd-ci
Aug 25, 2023
Merged

FreeBSD CI: cross-compile binaries#4180
tonistiigi merged 1 commit intomoby:masterfrom
akhramov:feature/cross-compile-binaries-freebsd-ci

Conversation

@akhramov
Copy link
Copy Markdown
Contributor

Sometimes, vagrant provisioning fails on build step. This may be mitigated by factoring the build step out of the vagrant box and cross-compiling FreeBSD binaries instead.

This change

  • Adds steps to setup go, and compile binaries on the host machine
  • Adjusts vagrant provisioners accordingly

@akhramov akhramov marked this pull request as ready for review August 25, 2023 17:15
Sometimes, vagrant provisioning fails on build step. This may be
mitigated by factoring the build step out of the vagrant box and
cross-compiling FreeBSD binaries instead.

This change

- Adds steps to setup go, and compile binaries on the host machine
- Adjusts vagrant provisioners accordingly

Signed-off-by: Artem Khramov <akhramov@pm.me>
@akhramov akhramov force-pushed the feature/cross-compile-binaries-freebsd-ci branch from 672b760 to d5e5e84 Compare August 25, 2023 17:29
@akhramov akhramov mentioned this pull request Aug 25, 2023
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. If these MacOS machines can easily run docker we could use the Dockerfile instead of manually invoking go: docker buildx bake binaries --set binaries.platform=freebsd/amd64. That would make sure there are no inconsistencies with how we build linux and freebsd binaries.

@tonistiigi tonistiigi merged commit 6cb9f42 into moby:master Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants