moby/builder/remotecontext
Cory Snider 94672c89cc builder: fix running git commands on Windows
Setting cmd.Env overrides the default of passing through the parent
process' environment, which works out fine most of the time, except when
it doesn't. For whatever reason, leaving out all the environment causes
git-for-windows sh.exe subprocesses to enter an infinite loop of
access violations during Cygwin initialization in certain environments
(specifically, our very own dev container image).

Signed-off-by: Cory Snider <csnider@mirantis.com>
2022-10-20 16:47:18 -04:00
..
git builder: fix running git commands on Windows 2022-10-20 16:47:18 -04:00
urlutil gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
archive.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
detect.go replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-09-30 23:25:28 +02:00
detect_test.go builder: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
filehash.go Add canonical import comment 2018-02-05 16:51:57 -05:00
generate.go Add canonical import comment 2018-02-05 16:51:57 -05:00
git.go builder: make git config isolation opt-in 2022-10-20 16:47:18 -04:00
lazycontext.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
mimetype.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mimetype_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
remote.go gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
remote_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
tarsum.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
tarsum.pb.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
tarsum.proto Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
tarsum_test.go pkg/containerfs: alias ContainerFS to string 2022-09-23 16:56:52 -04:00
utils_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00