This compiles the shim without cgo and statically which ends up to have lower memory usage and binary size. buildmode=pie cannot be used without cgo. ref: https://github.com/golang/go/issues/17789#issuecomment-258542220 Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
7.3 KiB
7.3 KiB