An open API service indexing awesome lists of open source software.

https://github.com/strazzere/alpine-android-ndk

Slim dockerized Android ndk
https://github.com/strazzere/alpine-android-ndk

Last synced: 9 months ago
JSON representation

Slim dockerized Android ndk

Awesome Lists containing this project

README

          

# Alpine Android NDK

The public Docker Hub repository is here: [https://hub.docker.com/r/different/alpine-android-ndk/](https://hub.docker.com/r/different/alpine-android-ndk/)

Based off of [sraillard/docker-alpine-android-ndk](https://github.com/sraillard/docker-alpine-android-ndk) - just updated for recent ndk versions as needed and simplified.

## Usage

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:
```shell
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:
```shell
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
```