DockerCLI/cli/command/image/build/context_unix.go

13 lines
181 B
Go
Raw Normal View History

//go:build !windows
// +build !windows
package build
import (
"path/filepath"
)
func getContextRoot(srcPath string) (string, error) {
return filepath.Join(srcPath, "."), nil
}