This is not a duplicate because although the error is same, my use case is different from others.
I am compiling a go application to deploy with docker on:
- latest arch linux
- latest docker version, golang:alpine image
- tried with go version 1.13.3 and 1.14.4 linux amd64
- i have no bash scripts or wrong file endings. Whole project is written on this Linux machine
- i can deploy an empty go app that has only a fmt print without any error
however,
when i build it on my OSX machine, and send it to linux, I can deploy that executable to docker without any error
- OSX mojave
- latest docker
- go 1.13.3
- GOOS=linux
Error :
standard_init_linux.go:211: exec user process caused "no such file or directory"