termux-packages/scripts/run-docker.sh

16 lines
277 B
Bash
Raw Normal View History

2016-05-28 00:24:50 +02:00
#!/bin/sh
set -e -u
# Create build output folder if necessary:
mkdir -p $HOME/termux
IMAGE_NAME=termux/package-builder
echo "Running container from image '$IMAGE_NAME'..."
docker run \
-v $PWD:/root/termux-packages \
-v $HOME/termux:/root/termux \
-ti $IMAGE_NAME bash