Make docker build flush output each line

This commit is contained in:
Guillaume J. Charmes 2013-05-28 13:47:04 -07:00
parent a48799016a
commit 582a9e0a67
1 changed files with 1 additions and 1 deletions

2
api.go
View File

@ -643,7 +643,7 @@ func postBuild(srv *Server, version float64, w http.ResponseWriter, r *http.Requ
}
}
b := NewBuildFile(srv, w)
b := NewBuildFile(srv, utils.NewWriteFlusher(w))
if _, err := b.Build(file, context); err != nil {
return err
}