apify-actor-docker icon indicating copy to clipboard operation
apify-actor-docker copied to clipboard

Make images usable on ARM machines

Open marinewater opened this issue 1 year ago • 2 comments

https://github.com/apify/apify-actor-docker/blob/ee3852a92d7f3fd7bdd64348a890b0de4186c070/node/Dockerfile#L2

Is there a reason why this platform restriction is in place? At least the normal node-actor image seems to work fine on ARM machines. With the increasing number of ARM servers, VPSs and cloud offerings it would be nice to be able to use the images on those machines.

marinewater avatar Sep 23 '24 15:09 marinewater

cc @vladfrangu

B4nan avatar Sep 24 '24 07:09 B4nan

Hey! Outside of the bare node image, all of our images are currently locked behind linux/amd64 because of the lack of Chrome (not chromium) for linux on ARM64. If that has changed since, it't be awesome to remove the restriction (I too would love native ARM64 images on my M1 for testing for example).

We can definitely remove the restriction on the base node image (as it comes just with node installed), but at this time we aren't providing built arm images, you'd be on your own to build them out

vladfrangu avatar Sep 24 '24 09:09 vladfrangu

@vladfrangu is there any update on this topic? I have tried to build my own image for ARM Firefox, but unsuccessfully. Is there any guide for building an arm image? Or if only chrome is not compatible for linux/arm, can not we just rest of the other images arm compatible? I am planning to run the Crawlee on Raspberry in k3s cluster, but currently I always get exec /usr/local/bin/docker-entrypoint.sh: exec format error in logs.

DavidKastler avatar Apr 27 '25 07:04 DavidKastler