Browse Source

mkimage-arch: remove the test container after run

Signed-off-by: Rui Lopes <rgl@ruilopes.com>
Rui Lopes 9 years ago
parent
commit
ca94adc7c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/mkimage-arch.sh

+ 1 - 1
contrib/mkimage-arch.sh

@@ -89,5 +89,5 @@ 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 --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
 tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
-docker run -t archlinux echo Success.
+docker run --rm -t archlinux echo Success.
 rm -rf $ROOTFS
 rm -rf $ROOTFS