Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 447 Bytes
#!/bin/sh
set -e
IMAGE=ids1024/ada-android:6.4.0
sudo docker pull $IMAGE
# Disable seccomp for 'personality' syscall, which is used by bionic (in qemu)
sudo docker run \
--rm \
-v "$PWD/words:/words" \
-w /words \
-u $(id -u):$(id -g) \
--security-opt seccomp=unconfined \
$IMAGE \
./build-words.sh
rm -rf src/main/assets/words
mkdir -p src/main/assets
mv words/words src/main/assets/words
echo "Words built in src/main/assets/words."