Open
Description
Describe the bug
When compiling go binary in a docker environment, some packages are not provided when the OS differs between the host and docker environment, despite existing in the go.mod. See below.
[ERROR] Completed: Compile with Go - (environment:linux_docker, google.golang.org/grpc/internal/syscall) - google.golang.org/grpc/internal/syscall failed (exit code 1).
gopath/pkg/mod/google.golang.org/[email protected]/internal/syscall/syscall_linux.go:29:2: could not import golang.org/x/sys/unix (open : no such file or directory)
Pants version
2.16.0rc0
OS
MacOS
Activity