mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
Mount the data volume for the Docker-based builder at x/sys instead of x/sys/unix. The x/sys/go.mod file was not included in the data volume when mounting x/sys/unix. This breaks module-aware go commands that run within the Docker container. Fix this problem by mounting the volume at x/sys and updating the working directory of the builder accordingly. Updates golang/go#49484 Change-Id: I2346b5320413b48de4984c9d9e31203941336357 Reviewed-on: https://go-review.googlesource.com/c/sys/+/363594 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Trust: Bryan C. Mills <bcmills@google.com>