pkg/chrootarchive: pass TarOptions via CLI arg

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Upstream-commit: 3ac6394b8082d4700483d52fbfe54914be537d9e
Component: engine
This commit is contained in:
Tibor Vass
2014-11-08 10:38:42 -05:00
committed by unclejack
parent 5bc98f602b
commit db09646f3d
5 changed files with 58 additions and 4 deletions

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
}