github.com/yogeshlonkar/moby@v1.13.2-0.20201203103638-c0b64beaea94/builder/context_unix.go (about) 1 // +build !windows 2 3 package builder 4 5 import ( 6 "path/filepath" 7 ) 8 9 func getContextRoot(srcPath string) (string, error) { 10 return filepath.Join(srcPath, "."), nil 11 }