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
- Host: GitHub
- URL: https://github.com/strazzere/alpine-android-ndk
- Owner: strazzere
- License: gpl-3.0
- Created: 2022-10-26T18:01:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T00:41:53.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T22:41:16.411Z (11 months ago)
- Language: Dockerfile
- Size: 15.6 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```