{"id":24055941,"url":"https://github.com/instrumentisto/cargo-ndk-docker-image","last_synced_at":"2026-02-13T16:24:22.632Z","repository":{"id":40468891,"uuid":"354837472","full_name":"instrumentisto/cargo-ndk-docker-image","owner":"instrumentisto","description":"cargo-ndk Docker image","archived":false,"fork":false,"pushed_at":"2025-09-18T21:17:26.000Z","size":127,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-18T23:48:34.128Z","etag":null,"topics":["android-ndk","android-ndk-docker","cargo-ndk","cargo-ndk-docker","docker-android-ndk","docker-cargo-ndk","docker-ndk","docker-rust","ndk-docker","rust-docker"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/cargo-ndk","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instrumentisto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-05T13:06:23.000Z","updated_at":"2025-09-18T21:17:19.000Z","dependencies_parsed_at":"2023-02-12T21:50:13.056Z","dependency_job_id":"793c6ec9-e8e1-4246-b750-70bc52843026","html_url":"https://github.com/instrumentisto/cargo-ndk-docker-image","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"purl":"pkg:github/instrumentisto/cargo-ndk-docker-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumentisto%2Fcargo-ndk-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumentisto%2Fcargo-ndk-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumentisto%2Fcargo-ndk-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumentisto%2Fcargo-ndk-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instrumentisto","download_url":"https://codeload.github.com/instrumentisto/cargo-ndk-docker-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumentisto%2Fcargo-ndk-docker-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877097,"owners_count":26061380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-ndk","android-ndk-docker","cargo-ndk","cargo-ndk-docker","docker-android-ndk","docker-cargo-ndk","docker-ndk","docker-rust","ndk-docker","rust-docker"],"created_at":"2025-01-09T04:32:54.498Z","updated_at":"2026-02-13T16:24:22.614Z","avatar_url":"https://github.com/instrumentisto.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"cargo-ndk Docker image\n======================\n\n[![Release](https://img.shields.io/github/v/release/instrumentisto/cargo-ndk-docker-image \"Release\")](https://github.com/instrumentisto/cargo-ndk-docker-image/releases)\n[![CI](https://github.com/instrumentisto/cargo-ndk-docker-image/actions/workflows/ci.yml/badge.svg?branch=main \"CI\")](https://github.com/instrumentisto/cargo-ndk-docker-image/actions?query=workflow%3ACI+branch%3Amain)\n[![Docker Hub](https://img.shields.io/docker/pulls/instrumentisto/cargo-ndk?label=Docker%20Hub%20pulls \"Docker Hub pulls\")](https://hub.docker.com/r/instrumentisto/cargo-ndk)\n\n[Docker Hub](https://hub.docker.com/r/instrumentisto/cargo-ndk)\n| [GitHub Container Registry](https://github.com/orgs/instrumentisto/packages/container/package/cargo-ndk)\n| [Quay.io](https://quay.io/repository/instrumentisto/cargo-ndk)\n\n[Changelog](https://github.com/instrumentisto/cargo-ndk-docker-image/blob/main/CHANGELOG.md)\n\n\n\n\n## Supported tags and respective `Dockerfile` links\n\n- [`4.1.2-ndkr29-rust1.93-r1`, `4.1.2-ndkr29-rust1.93`, `4.1.2-ndkr29`, `4.1-ndkr29`, `4-ndkr29`, `4.1.2`, `4.1`, `4`, `latest`][101]\n\n\n\n\n## Supported [Rust] targets\n\n- `aarch64-linux-android`\n- `armv7-linux-androideabi`\n- `x86_64-linux-android`\n- `i686-linux-android`\n\n\n\n\n## What is cargo-ndk?\n\nThis [Cargo] extension handles all the environment configuration needed for successfully building libraries for Android from a [Rust] codebase, with support for generating the correct `jniLibs/` directory structure.\n\nThis image also contains [Android NDK] and [Rust] targets for building source code for [Android].\n\n\u003e https://crates.io/crates/cargo-ndk\n\n\u003e https://developer.android.com/ndk\n\n\n\n\n## How to use this Docker image\n\nMount your project directory and run the `cargo ndk` command:\n```bash\ndocker run --rm -v /my/rust/project:/app -w /app instrumentisto/cargo-ndk \\\n    cargo ndk -o ./jniLibs build\n```\n\nAfter doing that you will see `jniLibs/` folder with libraries for all the supported [Android] targets.\n\n\n\n\n## Image tags\n\n\n### `\u003cX\u003e`\n\nLatest tag of the latest major `X` [cargo-ndk] version.\n\n\n### `\u003cX.Y\u003e`\n\nLatest tag of the latest minor `X.Y` [cargo-ndk] version.\n\n\n### `\u003cX.Y.Z\u003e`\n\nLatest tag of the concrete `X.Y` [cargo-ndk] version.\n\n\n### `ndk\u003crA\u003e`\n\nLatest tag containing the concrete `rA` [Android NDK] version.\n\n\n### `rust\u003cB.C\u003e`\n\nLatest tag containing the latest minor `B.C` [Rust] version.\n\n\n### `\u003cX.Y.Z\u003e-ndk\u003crA\u003e-rust\u003cB.C\u003e-r\u003cN\u003e`\n\nConcrete `N` image revision tag of the concrete `X.Y.Z` [cargo-ndk] version with the concrete `rA` [Android NDK] version and the latest minor `B.C` [Rust] version.\n\nOnce built, it's never updated.\n\n\n\n\n## License\n\n[cargo-ndk] is licensed under [Apache-2.0][5]/[MIT][6] licenses.  \n[Android NDK] is licensed under [its own license][4].\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nAs for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.\n\nThe [sources][3] for producing `instrumentisto/cargo-ndk` Docker image are licensed under [Blue Oak Model License 1.0.0][2].\n\n\n\n\n## Issues\n\nWe can't notice comments in the [DockerHub] (or other container registries) so don't use them for reporting issue or asking question.\n\nIf you have any problems with or questions about this image, please contact us through a [GitHub issue][1].\n\n\n\n\n[Android]: https://www.android.com\n[Android NDK]: https://developer.android.com/ndk\n[Apache-2.0]: https://choosealicense.com/licenses/apache-2.0\n[Cargo]: https://doc.rust-lang.org/cargo\n[cargo-ndk]: https://crates.io/crates/cargo-ndk\n[DockerHub]: https://hub.docker.com\n[MIT]: https://choosealicense.com/licenses/mit\n[Rust]: https://www.rust-lang.org\n\n[1]: https://github.com/instrumentisto/cargo-ndk-docker-image/issues\n[2]: https://github.com/instrumentisto/cargo-ndk-docker-image/blob/main/LICENSE.md\n[3]: https://github.com/instrumentisto/cargo-ndk-docker-image\n[4]: https://developer.android.com/studio/terms\n[5]: https://github.com/bbqsrc/cargo-ndk/blob/main/LICENSE-APACHE\n[6]: https://github.com/bbqsrc/cargo-ndk/blob/main/LICENSE-MIT\n\n[101]: https://github.com/instrumentisto/cargo-ndk-docker-image/blob/main/Dockerfile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstrumentisto%2Fcargo-ndk-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstrumentisto%2Fcargo-ndk-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstrumentisto%2Fcargo-ndk-docker-image/lists"}