aquasecurity / starboard

Moved to https://github.com/aquasecurity/trivy-operator

Home Page:https://aquasecurity.github.io/starboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chore: add support for ARM architectures

jlamande opened this issue · comments

What steps did you take and what happened:

Currently deploying the starboard operator on ARM instances is not working (e.g. Graviton AWS EC2)

On start :

standard_init_linux.go:228: exec user process caused: exec format error

This error is a known symptom of not supported arm architecture.

What did you expect to happen:

Operator starting.

Anything else you would like to add:

Blocked on operator deployment, I have not checked on tools used by Starboard if the same issue will happen (kube bench, trivy, polaris, ...)

Environment:

  • Starboard version (use starboard version): 0.13.0
  • Kubernetes version (use kubectl version): 1.22
  • OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): EKS 1.21, Graviton t4g, Bottlerocket OS

Hi @danielpacak

I created a PR for adding ARM support.
Hard to validate as it depends on github actions and releases.

Hi @danielpacak

I created a PR for adding ARM support. Hard to validate as it depends on github actions and releases.

To test your changes before release you can always install goreleaser on your computer as explained on https://goreleaser.com/install/

And then just test it out with the following command:

goreleaser release --snapshot --skip-publish --rm-dist

@jlamande I've renamed this issue to indicate that we want to build Starboard CLI for ARM architectures as well.

commented

Fixed in PR #955