fn icon indicating copy to clipboard operation
fn copied to clipboard

Docker build does not account for atypical architectures (ARM/RPi)

Open mrpaws opened this issue 6 years ago • 1 comments

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:

  1. Clone project from repository.
  2. docker build .
  3. docker run -it mrpaws/fnserver:0.3.503 bash OR
  4. 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 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

mrpaws avatar Jul 17 '18 19:07 mrpaws

@mrpaws Did you resolve the bug?

nguyenvanduocit avatar Aug 10 '18 15:08 nguyenvanduocit