1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

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
}