mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
This feels like it's where it belongs and it makes it exported again (which is needed for libcompose that was using it before 1.10). Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: fc6122a947f9eb9fc2f54fb8ba3b9da4531a6b99 Component: engine
12 lines
163 B
Go
12 lines
163 B
Go
// +build !windows
|
|
|
|
package builder
|
|
|
|
import (
|
|
"path/filepath"
|
|
)
|
|
|
|
func getContextRoot(srcPath string) (string, error) {
|
|
return filepath.Join(srcPath, "."), nil
|
|
}
|