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.82k stars 241 forks source link

How to build on arm? #164

Closed kx1t closed 3 years ago

kx1t commented 3 years ago

I'm trying to build the standard container (https://github.com/Zenika/alpine-chrome/blob/master/Dockerfile) on arm (Raspberry Pi 3B+ and 4B) to use as a basis for a screenshotting service I'm writing, but I can't get it to build. It complains that chromium doesn't exist as part of the apk add execution.

Specifically, I'm using docker buildx to armhf and arm64 containers.

Is this supported? Anyone have any experience or suggestions on how to build the container successfully?

Thanks!

kx1t commented 3 years ago

I was able to build my own container based on Debian-Slim. Builds and works in armhf/arm64 for headless use of chromium, but I can't say that chromium is very stable. About half of the time, the command never returns when requesting a screenshot. In any case, that's an unrelated issue. No further need for this issue, I'll close it.