зеркало из https://github.com/microsoft/docker.git
12 строки
163 B
Go
12 строки
163 B
Go
|
// +build !windows
|
||
|
|
||
|
package builder
|
||
|
|
||
|
import (
|
||
|
"path/filepath"
|
||
|
)
|
||
|
|
||
|
func getContextRoot(srcPath string) (string, error) {
|
||
|
return filepath.Join(srcPath, "."), nil
|
||
|
}
|