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

12 lines
161 B
Go

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