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:
@ -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