Open locked-fg opened 4 years ago
For that the Docker Image needs to be adjusted so it will support the Raspberry Pi architecture.
Yeah well, thought so. - The question is just: how.
I tried to build the dockerfile for arm ( referring to this link ). I changed the build command to
env GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o /exporter
But again no luck:
The command '/bin/sh -c cd /go/src/github.com/mxschmitt/fritzbox_exporter/cmd/exporter && go get ./... && env GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o /exporter' returned a non-zero code: 139
BTW: recompiling won't be enough. In my case an ARMv6 image was required to run ANYTHING on my Raspberry Pi. I chose ownaginatious/armv6h-archlinux successfully.
Hello,
any news on this?
I have the same error: standard_init_linux.go:228: exec user process caused "exec format error" by using "mxschmitt/fritzbox_exporter:latest-arm64v8"
I'm using Raspberry PI 4 b.
Best regards!
Hi,
I'm using the docker image 'mxschmitt/fritzbox_exporter'. In a linux VM everything is just plain fine. When I use the same docker-compose on my Raspberry Pi I get:
standard_init_linux.go:211: exec user process caused "exec format error"
Any clue how to solve this?