1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/remotecontext
Sebastiaan van Stijn 4fdc1bb1fb
builder/remotecontext/git: allow building on go1.18
cmd.Environ() is new in go1.19, and not needed for this specific case.
Without this, trying to use this package in code that uses go1.18 will fail;

    builder/remotecontext/git/gitutils.go:216:23: cmd.Environ undefined (type *exec.Cmd has no field or method Environ)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-21 17:41:41 +02:00
..
git builder/remotecontext/git: allow building on go1.18 2022-10-21 17:41:41 +02: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 builder: use filepath.WalkDir instead of filepath.Walk 2022-10-09 17:00:23 +02: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