The public Docker Hub repository is here: https://hub.docker.com/r/different/alpine-android-ndk/
Based off of sraillard/docker-alpine-android-ndk - just updated for recent ndk versions as needed and simplified.
Primary usage is around ndk-build
however git
, make
and cmake
have been installed as the ndk supports
usage through cmake
in the ndk, but needs the host to have it as well.
Pulling:
docker pull different/alpine-android-ndk:r25b
docker run --rm --mount source=/path/to/ndk/project/,destination=/source,type=bind --workdir=/source different/alpine-android-ndk:r25b ndk-build
Building:
docker build -t different/alpine-android-ndk:r25b .
docker run --rm --mount source=/path/to/ndk/project/,destination=/source,type=bind --workdir=/source different/alpine-android-ndk:r25b ndk-build