rapidast icon indicating copy to clipboard operation
rapidast copied to clipboard

add containerfile for arm64

Open jeremychoi opened this issue 1 year ago • 5 comments

The difference with the existing Containerfile is the kubectl installation URL.

jeremychoi avatar Aug 21 '24 05:08 jeremychoi

Some other options aside from having a second Containerfile could be:

  • Use a base image like registry.redhat.io/openshift4/ose-cli-rhel9 which includes kubectl
  • Use the output from something like uname -p to create the URL for downloading kubectl

sfowl avatar Aug 21 '24 05:08 sfowl

What about Firefox ? does it also require change for ARM ?

cedricbu avatar Aug 21 '24 06:08 cedricbu

Thanks for the suggestions. I updated Containerfile and removed the new file, going for (2). @cedricbu do you happen to know the link for arm64 one?

jeremychoi avatar Aug 21 '24 07:08 jeremychoi

I was looking after my comment, and actually it doesn't look straight forward: IIUC, Firefox doesn't release firefox releases for Linux ARM64 (e.g.: https://download-installer.cdn.mozilla.net/pub/firefox/releases/129.0.2/ => only Win ARM64 is present). However, the nightly builds seems to have ARM64 Linux builds : https://download-installer.cdn.mozilla.net/pub/firefox/nightly/2024/08/2024-08-20-21-40-25-mozilla-central/

So I am not sure how to do, but it might be that ARM64 binaries of official releases will come soon.

ZAP is using a Debian base and install Firefox directly using APT. However, this is not possible for us currently (the RHEL UBI doesn't have firefox RPM available, this is why we need to download it manually).

Maybe the short term would be to simply not install Firefox for the ARM image, and find a better solution later ?

cedricbu avatar Aug 21 '24 07:08 cedricbu

hold until firefox arm64 for linux is available to download.

jeremychoi avatar Oct 01 '24 05:10 jeremychoi