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:
parent
a48799016a
commit
582a9e0a67
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue