fn
fn copied to clipboard
Docker build does not account for atypical architectures (ARM/RPi)
Description
When building Fn project from Docker file at ./Dockerfile in repository, the image pulled does not respect architecture of machine building docker image. Seems to produce an x86/amd64 image only:
standard_init_linux.go:190: exec user process caused "exec format error"
The above however will run on an amd64 architecture machine.
Steps to reproduce the issue:
- Clone project from repository.
-
docker build .
-
docker run -it mrpaws/fnserver:0.3.503 bash
OR -
docker run mrpaws/fnserver:0.3.503
Describe the results you received:
standard_init_linux.go:190: exec user process caused "exec format error"
Describe the results you expected: Docker container launch or userland error (since not using correct docker run command).
Additional information you deem important (e.g. issue happens only occasionally):
Output of fn version
(CLI command):
Not successfully deployed but comes from 0.3.503 release
Additional environment details (OSX, Linux, flags, etc.):
Linux
@mrpaws Did you resolve the bug?