mirror of https://github.com/docker/docs.git
Merge pull request #8404 from danjpgriffin/master
Preserve extended attributes and acls on archlinux build
This commit is contained in:
commit
c478143ec0
|
@ -60,6 +60,6 @@ mknod -m 600 $DEV/initctl p
|
||||||
mknod -m 666 $DEV/ptmx c 5 2
|
mknod -m 666 $DEV/ptmx c 5 2
|
||||||
ln -sf /proc/self/fd $DEV/fd
|
ln -sf /proc/self/fd $DEV/fd
|
||||||
|
|
||||||
tar --numeric-owner -C $ROOTFS -c . | docker import - archlinux
|
tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
|
||||||
docker run -i -t archlinux echo Success.
|
docker run -i -t archlinux echo Success.
|
||||||
rm -rf $ROOTFS
|
rm -rf $ROOTFS
|
||||||
|
|
Loading…
Reference in New Issue