pkg/chrootarchive: pass TarOptions via CLI arg
Signed-off-by: Tibor Vass <teabee89@gmail.com> Conflicts: graph/load.go fixed conflict in imports Upstream-commit: 9c01bc249dc628280f3fc019d5f0e0ace71be248 Component: engine
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user