builder: remove container package dependency
Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: c70f8b3c9c7a6dc6a219354acaa2e650d1403ecf Component: engine
This commit is contained in:
8
components/engine/pkg/system/path_unix.go
Normal file
8
components/engine/pkg/system/path_unix.go
Normal file
@ -0,0 +1,8 @@
|
||||
// +build !windows
|
||||
|
||||
package system
|
||||
|
||||
// DefaultPathEnv is unix style list of directories to search for
|
||||
// executables. Each directory is separated from the next by a colon
|
||||
// ':' character .
|
||||
const DefaultPathEnv = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
7
components/engine/pkg/system/path_windows.go
Normal file
7
components/engine/pkg/system/path_windows.go
Normal file
@ -0,0 +1,7 @@
|
||||
// +build windows
|
||||
|
||||
package system
|
||||
|
||||
// DefaultPathEnv is deliberately empty on Windows as the default path will be set by
|
||||
// the container. Docker has no context of what the default path should be.
|
||||
const DefaultPathEnv = ""
|
||||
Reference in New Issue
Block a user