Browse code

mkimage-arch: remove the test container after run

Signed-off-by: Rui Lopes <rgl@ruilopes.com>

Rui Lopes authored on 2015/11/22 20:46:13
Showing 1 changed files
... ...
@@ -89,5 +89,5 @@ mknod -m 666 $DEV/ptmx c 5 2
89 89
 ln -sf /proc/self/fd $DEV/fd
90 90
 
91 91
 tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
92
-docker run -t archlinux echo Success.
92
+docker run --rm -t archlinux echo Success.
93 93
 rm -rf $ROOTFS