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 80dc5186ec
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>
(cherry picked from commit 4fdc1bb1fb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-21 17:44:20 +02:00
..
git builder/remotecontext/git: allow building on go1.18 2022-10-21 17:44:20 +02:00
urlutil gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
archive.go Add canonical import comment 2018-02-05 16:51:57 -05:00
detect.go replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +02:00
detect_test.go builder: fix empty-lines (revive) 2022-09-30 23:59:29 +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:46:23 -04:00
lazycontext.go LCOW: lazycontext: Use correct lstat, fix archive check 2018-06-27 13:29:21 -07: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-13 22:42:29 +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 remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
tarsum.pb.go
tarsum.proto
tarsum_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
utils_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00