Merge pull request #162 from ebriand/init-processing-logging

Add back init image processing logging
This commit is contained in:
Justin Cormack 2017-10-30 11:24:53 +00:00 committed by GitHub
commit 626b41fd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,6 +188,7 @@ func Build(m Moby, w io.Writer, pull bool, tp string) error {
log.Infof("Add init containers:")
}
for _, ii := range m.initRefs {
log.Infof("Process init image: %s", ii)
err := ImageTar(ii, "", iw, enforceContentTrust(ii.String(), &m.Trust), pull, resolvconfSymlink)
if err != nil {
return fmt.Errorf("Failed to build init tarball from %s: %v", ii, err)