void-packages/common/travis/docker.sh
maxice8 3f4d1f1555 travis: use ethereal.
Closes: #9396 [via git-merge-pr]
2019-04-06 16:44:58 -07:00

16 lines
372 B
Bash
Executable file

#!/bin/sh
#
# docker.sh
[ "$XLINT" ] && exit 0
/bin/echo -e "\x1b[32mPulling docker image for $BOOTSTRAP from $TAG...\x1b[0m"
docker pull voidlinux/masterdir-$BOOTSTRAP:$TAG
docker run -d \
--name void \
-v "$(pwd)":/hostrepo \
-v /tmp:/tmp \
-e XLINT="$XLINT" \
-e PATH="$PATH" \
voidlinux/masterdir-$BOOTSTRAP:$TAG \
/bin/sh -c 'sleep inf'