By default, exec uses the environment of the current process, however, if `exec.Env` is not `nil`, the environment is discarded: https://github.com/golang/go/blob/e73f4894949c4ced611881329ff8f37805152585/src/os/exec/exec.go#L57-L60 > If Env is nil, the new process uses the current process's environment. When adding a new environment variable, prepend the current environment, to make sure it is not discarded. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 6c4fbb7738) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: fc8717799f Component: cli
6c4fbb7738
fc8717799f
Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 2c4de4fb5e Component: cli
2c4de4fb5e
- Build image that contains everything needed to run e2e tests - Add ability to run e2e tests against an endpoint Signed-off-by: Christopher Crone <christopher.crone@docker.com> Upstream-commit: 6b38918ce4 Component: cli
6b38918ce4
Importing from moby's DockerTrustSuite tests. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 8b00c5cfd8 Component: cli
8b00c5cfd8