Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrations: allow multiarch image builds #23698

Merged
merged 3 commits into from
Mar 30, 2023

Conversation

hugoShaka
Copy link
Contributor

@hugoShaka hugoShaka commented Mar 28, 2023

Part of #22732

This PR does the following things:

  • Disable cgo in the operator and kube-agent-updater because it is not required
  • Remove the bits about the arch-specific C compilator because it is not needed anymore without cgo
  • Remove the Makefile logic which was choosing the right C compiler
  • Add a Makefile target returning the current buildbox image

The goal behind this PR is to be able to build integrations images using the new oci-image-build workflow in teleport.e. This will provide the following advantages:

  • add arm64 support for the operator
  • build multiarch images
  • provide signed images with our public key
  • provide -debug variants of the images
  • reuse the existing build and release logic from the -distroless images

The related e PR is here: https://github.com/gravitational/teleport.e/pull/1035

@hugoShaka hugoShaka marked this pull request as ready for review March 30, 2023 12:52
@hugoShaka hugoShaka force-pushed the hugo/integrations-multiarch-friendly-dockerfiles branch from ab96cad to 27e16c8 Compare March 30, 2023 12:52
@hugoShaka hugoShaka added this pull request to the merge queue Mar 30, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 30, 2023
@hugoShaka hugoShaka added this pull request to the merge queue Mar 30, 2023
Merged via the queue into master with commit ba75bd9 Mar 30, 2023
@hugoShaka hugoShaka deleted the hugo/integrations-multiarch-friendly-dockerfiles branch March 30, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants