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

Support multi-architecture(arm64) build #1024

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

nickytd
Copy link
Contributor

@nickytd nickytd commented Oct 17, 2024

/kind feature
/area build

This PR uses GOARCH environment variable in Makefile also in the falcosidekick container image binary build. It supports builds on arm64 architecture in addition to the amd64.
In addition it add build flags to the container image as well.
Example:

docker run --rm  docker.io/falcosecurity/falcosidekick:latest --version
GitVersion:    2.29.0-71-g0f39f47-dirty
GitCommit:     0f39f47e11721722a0993690ad472887e17085a7
GitTreeState:  dirty
BuildDate:     '2024-10-15T07:59:36Z'
GoVersion:     go1.23.2
Compiler:      gc
Platform:      linux/arm64

@poiana
Copy link

poiana commented Oct 17, 2024

Welcome @nickytd! It looks like this is your first PR to falcosecurity/falcosidekick 🎉

@poiana poiana added the size/S label Oct 17, 2024
Signed-off-by: Niki Dokovski <nickytd@gmail.com>
@nickytd nickytd force-pushed the enable-platform-arch-in-build branch from bc21a98 to e860a9b Compare October 17, 2024 08:57
@Issif Issif added this to the 2.30 milestone Oct 18, 2024
Copy link
Member

@Issif Issif left a comment

Choose a reason for hiding this comment

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

thanks.

@poiana
Copy link

poiana commented Oct 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif, nickytd

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana added the lgtm label Oct 18, 2024
@poiana
Copy link

poiana commented Oct 18, 2024

LGTM label has been added.

Git tree hash: 902c649086f1fedc25ab57cd3e587e5791f32e2f

@poiana poiana merged commit 0788919 into falcosecurity:master Oct 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants