go build
脚本忘了加 CGO_ENABLED=0
,结果从 docker 的 scratch 镜像压出来就报
standard_init_linux.go:228: exec user process caused: no such file or directory
找了半天问题才想起来 CGO 那茬
go build
脚本忘了加 CGO_ENABLED=0
,结果从 docker 的 scratch 镜像压出来就报
standard_init_linux.go:228: exec user process caused: no such file or directory
找了半天问题才想起来 CGO 那茬