pkg/chrootarchive: pass TarOptions via CLI arg

Signed-off-by: Tibor Vass <teabee89@gmail.com>

Conflicts:
	graph/load.go
		fixed conflict in imports
This commit is contained in:
Tibor Vass
2014-11-25 01:03:40 +02:00
committed by unclejack
parent 1cb17f03d0
commit 9c01bc249d
5 changed files with 58 additions and 4 deletions
-1
View File
@@ -48,7 +48,6 @@ func (b *Builder) readContext(context io.Reader) error {
return err
}
os.MkdirAll(tmpdirPath, 0700)
if err := chrootarchive.Untar(b.context, tmpdirPath, nil); err != nil {
return err
}