mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
mkimage-arch.sh - don't run docker in interactive mode
Don't run docker in interactive mode in the archlinux container build script. Recent versions of Docker error out with "cannot enable tty mode on non tty input" when being run non-interactively (such as in a cron job, Jenkins build, etc.) Signed-off-by: Jared Biel <jared.biel@bolderthinking.com>
This commit is contained in:
parent
c12fb48a8a
commit
4ff56bbddf
1 changed files with 1 additions and 1 deletions
|
@ -87,5 +87,5 @@ mknod -m 666 $DEV/ptmx c 5 2
|
|||
ln -sf /proc/self/fd $DEV/fd
|
||||
|
||||
tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
|
||||
docker run -i -t archlinux echo Success.
|
||||
docker run -t archlinux echo Success.
|
||||
rm -rf $ROOTFS
|
||||
|
|
Loading…
Reference in a new issue