commit | 7c45f0c2c729959bc5247f8c2c3e69b074727ae9 | [log] [tgz] |
---|---|---|
author | Johan Jansson <johan.jansson@iki.fi> | Fri Nov 12 11:41:28 2021 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Fri Nov 12 16:43:26 2021 +0000 |
tree | cec77f552a9a222b9ad873fb568b2704384e0cec | |
parent | c6105e7cf70de3f4de24f9ec5fde214676989bfa [diff] |
unix: mount Docker-based builder at x/sys 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>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.