madhuakula / hacker-container

The Swiss Army Container for Cloud Native Security. Container with all the list of useful tools/commands while hacking and securing Containers, Kubernetes Clusters, and Cloud Native workloads.
MIT License
253 stars 63 forks source link

arm64 support #7

Closed adamhurm closed 2 years ago

adamhurm commented 2 years ago

I was able to add arm64 support to the build process, but it only supports local builds since the version uploaded to dockerhub will be dependent on the build platform architecture. Docker does support named build stages, but the build steps need to be sequential and don't really work like an if-then. This kind of behavior might be possible in BuildKit, but I have never used it before and did not want to modify the build process. The whole build is just wrapped in a bash if-then.

Notes:

madhuakula commented 2 years ago

Hi @adamhurm,

You are such a fantastic person. Thank you so much for all the efforts to make the community great and for contributing to these 🙏

I have done some fixes after testing. Could you please confirm if they all look great for ARM as well?

Thank you so much once again and apologies for the delay in response.

adamhurm commented 2 years ago

Awesome, thanks for the update Madhu! I'm away from home at the moment, but I should be able to test when I return this week.

madhuakula commented 2 years ago

Take your time to enjoy. No hurry :)

Thanks a million once again for a wonderful work 💯

adamhurm commented 2 years ago

Confirmed that everything looks good on arm64 now. I updated the kubeaudit URL since it just changed during this last release. I also updated my ported arm64 release versions of amicontained and cfssl to match the amd64 release versions.