github.com/panekj/cli@v0.0.0-20230304125325-467dd2f3797e/cli/command/image/build/context_unix.go (about)

     1  //go:build !windows
     2  // +build !windows
     3  
     4  package build
     5  
     6  import (
     7  	"path/filepath"
     8  )
     9  
    10  func getContextRoot(srcPath string) (string, error) {
    11  	return filepath.Join(srcPath, "."), nil
    12  }