update tar with the adjustment kb found to avoid some corruption issues
This commit is contained in:
parent
488faea949
commit
ba9f5b7b81
@ -20,7 +20,12 @@ mount="$(mktemp -d --tmpdir)"
|
||||
mount -o loop "$image" "$mount"
|
||||
|
||||
cd "$mount"
|
||||
tar -cpSf - --acls --selinux --xattrs * | docker import - "$tag"
|
||||
|
||||
#this tar seems to cause issues such as rpmdb corruption
|
||||
#tar -cpSf - --acls --selinux --xattrs * | docker import - "$tag"
|
||||
|
||||
tar --numeric owner -c . | docker import - "$tag"
|
||||
|
||||
cd - >& /dev/null
|
||||
umount "$mount"
|
||||
rmdir "$mount"
|
||||
|
Loading…
Reference in New Issue
Block a user