|
@@ -189,10 +189,10 @@ if [ "$justTar" ]; then
|
|
|
touch "$repo"
|
|
|
|
|
|
# fill the tarball
|
|
|
- sudo tar -caf "$repo" .
|
|
|
+ sudo tar --numeric-owner -caf "$repo" .
|
|
|
else
|
|
|
# create the image (and tag $repo:$suite)
|
|
|
- sudo tar -c . | $docker import - $repo $suite
|
|
|
+ sudo tar --numeric-owner -c . | $docker import - $repo $suite
|
|
|
|
|
|
# test the image
|
|
|
$docker run -i -t $repo:$suite echo success
|