machinebox / issues

Machine Box issues, bugs and feature requests
2 stars 0 forks source link

Provide ARM Docker image #15

Closed plutov closed 6 years ago

plutov commented 6 years ago

Trying to run Facebox on Raspberry Pi 3 I am getting this error:

docker run -p 8080:8080 -e "MB_KEY=$MB_KEY" machinebox/facebox
standard_init_linux.go:195: exec user process caused "exec format error"

Seems hat Go binary is built for x86, for me would be cool to have an ARM version. I think it can be solved by:

GOARCH=arm go build

Docker version:

docker version
Client:
 Version:   18.01.0-ce
 API version:   1.35
 Go version:    go1.9.2
 Git commit:    03596f5
 Built: Wed Jan 10 20:25:15 2018
 OS/Arch:   linux/arm
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:  18.01.0-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.9.2
  Git commit:   03596f5
  Built:    Wed Jan 10 20:21:22 2018
  OS/Arch:  linux/arm
  Experimental: false

CPU:

processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
dahernan commented 6 years ago

Sorry, Go is just the easiest part we have some C++, that is probably none trivial to see if we can port it to ARM :(

I'll try to research it a bit.

plutov commented 6 years ago

Thanks! It's not critical I think, for real world problem I'll be running MB on server, and Raspberry Pi will be a client.

matryer commented 6 years ago

Closing.

tac0turtle commented 5 years ago

Is there any update on this? Looking to do the same thing as the guy who opened the issue.

dahernan commented 5 years ago

We have no plans to support ARM on any future near by, sorry