Files
docker-cli/cli/command/image/build/context_unix.go
Sebastiaan van Stijn a0f0578299 gofmt with go1.17
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-26 20:21:00 +01:00

13 lines
181 B
Go

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