axa-group / Parsr

Transforms PDF, Documents and Images into Enriched Structured Data
Apache License 2.0
5.85k stars 310 forks source link

ARM Architecture Support (Raspberry Pi) #427

Open RidaAyed opened 4 years ago

RidaAyed commented 4 years ago

Summary Docker run returns exec format error

Steps To Reproduce Steps to reproduce the behavior:

  1. docker pull axarev/parsr
  2. docker run -p 3001:3001 axarev/parsr

Expected behavior Works without error

Actual behavior standard_init_linux.go:211: exec user process caused "exec format error"

Environment Raspberry Pi 3 Model B Plus Rev 1.3 (Raspbian 4.19.66-v7+)

jvalls-axa commented 4 years ago

Hi @RidaAyed

As far as I know it is the first time that someone tries to execute Parsr on a Raspberry.

We will investigate the issue asap.

Thanks for feedback!

slallemand commented 4 years ago

Hi @RidaAyed the docker image is not build for arch machine and so that can't work for now.

goatsweater commented 1 year ago

All modern Mac computers now run on ARM as well so this is not only a Raspberry Pi problem.

In trying to build the docker images for ARM it fails because Google Chrome is not packaged for ARM (and thus not found by apt-get install google-chrome-unstable). I don't know if chromium-browser would be acceptable substitute, but it is packaged for ARM, apparently.