aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/docker-android.sh
blob: eb7becd7bf63f4f7483763d157ddfb4f84cfd280 (plain)
1
2
3
4
5
6
7
8
9
10
VERSION=`./configure.py --version`
mkdir -p docker-builds
docker build -f src/scripts/Dockerfile.android --force-rm -t botan-android-${VERSION} \
    --build-arg ANDROID_SDK_VER=${ANDROID_SDK_VER} \
    --build-arg ANDROID_ARCH=${ANDROID_ARCH} \
    --build-arg ANDROID_TOOLCHAIN_SUF=${ANDROID_TOOLCHAIN_SUF} \
    .
docker create --name botan-android-${VERSION} botan-android-${VERSION}
docker cp botan-android-${VERSION}:/botan/android docker-builds
docker rm -f botan-android-${VERSION}