Zenika / alpine-chrome

Chrome Headless docker images built upon alpine official image
https://hub.docker.com/r/zenika/alpine-chrome
Apache License 2.0
1.84k stars 243 forks source link

How can I have/build a version of zenika/alpine-chrome:with-puppeteer for armv7? #237

Open obriankevin11 opened 11 months ago

obriankevin11 commented 11 months ago

Everything is in the title I think 😅 Would like to use it on my raspberry pi 4b

Thank you!

zigarn commented 4 months ago

Hi @obriankevin11! For what I see Raspberry Pi 4 Model B is ARM v8 64-bit, so the current arm64 build of the image should work.

zigarn commented 3 months ago

Revert as builds launching npm hang until canceled. Maybe hitting nodejs/docker-node#1798/nodejs/docker-node#1946

zigarn commented 3 months ago

Looks like an emulation issue. Need to build on native armv7, so directly on your Raspberry:

git clone https://github.com/Zenika/alpine-chrome.git
cd alpine-chrome
docker image build --tag zenika/alpine-chrome ./
docker image build --tag zenika/alpine-chrome:with-node with-node/
docker image build --tag zenika/alpine-chrome:with-puppeteer with-puppeteer/