apify / apify-actor-docker

Base Docker images for Apify actors.
https://hub.docker.com/u/apify
Apache License 2.0
70 stars 22 forks source link

Make images usable on ARM machines #141

Open marinewater opened 2 months ago

marinewater commented 2 months ago

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.

B4nan commented 2 months ago

cc @vladfrangu

vladfrangu commented 2 months ago

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