github.com/thajeztah/cli@v0.0.0-20240223162942-dc6bfac81a8b/cli/command/image/build/context_unix.go (about)

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