From 9cd84e405d970239df7169e66a099e28311ef614 Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 7 Oct 2015 15:57:37 -0700 Subject: [PATCH] Windows: Regression re-fix builder Signed-off-by: John Howard --- builder/dockerfile/internals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/dockerfile/internals.go b/builder/dockerfile/internals.go index ddcde4778a..4a3b43e2a5 100644 --- a/builder/dockerfile/internals.go +++ b/builder/dockerfile/internals.go @@ -236,7 +236,7 @@ func (b *Builder) download(srcURL string) (fi builder.FileInfo, err error) { if err != nil { return } - path := u.Path + path := filepath.FromSlash(u.Path) // Ensure in platform semantics if strings.HasSuffix(path, string(os.PathSeparator)) { path = path[:len(path)-1] }