{"id":15067611,"url":"https://github.com/sergioribera/docker-rust-android","last_synced_at":"2025-04-10T14:31:00.998Z","repository":{"id":176358150,"uuid":"655998503","full_name":"SergioRibera/docker-rust-android","owner":"SergioRibera","description":"A docker container that allows the construction of android applications written with rust with all the tools ready to use","archived":false,"fork":false,"pushed_at":"2024-10-21T02:23:27.000Z","size":196,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T11:12:12.518Z","etag":null,"topics":["actions","android","build","build-tool","mobile","rust","rust-lang","rustlang"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SergioRibera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["SergioRibera"]}},"created_at":"2023-06-20T04:08:39.000Z","updated_at":"2024-10-23T00:40:52.000Z","dependencies_parsed_at":"2024-07-29T17:39:13.277Z","dependency_job_id":"44e75a4b-b03c-411f-8489-7134d4317484","html_url":"https://github.com/SergioRibera/docker-rust-android","commit_stats":null,"previous_names":["sergioribera/docker-rust-android"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fdocker-rust-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fdocker-rust-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fdocker-rust-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fdocker-rust-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergioRibera","download_url":"https://codeload.github.com/SergioRibera/docker-rust-android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233946,"owners_count":21069493,"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","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":["actions","android","build","build-tool","mobile","rust","rust-lang","rustlang"],"created_at":"2024-09-25T01:25:12.440Z","updated_at":"2025-04-10T14:31:00.976Z","avatar_url":"https://github.com/SergioRibera.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/SergioRibera"],"categories":[],"sub_categories":[],"readme":"# Rust Android\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"Docker Pulls\" src=\"https://img.shields.io/docker/pulls/sergioribera/rust-android\"\u003e\n    \u003cimg alt=\"Docker Image Size with architecture (latest by date/latest semver)\" src=\"https://img.shields.io/docker/image-size/sergioribera/rust-android\"\u003e\n\u003c/p\u003e\nThis is a project that tries to package in a small container everything needed and required to build an android gradle project.\n\nAmong the components it has are:\n- rust\n- gradle\n- java jdk\n- ndk\n- bundletool\n- buildtools\n- command line tools\n- platform tools\n\n## Usage\nCommand Line:\n\u003e **Note:** for more information, consider looking at [examples](./examples)\n\n```bash\n# Debug\ndocker run --rm -it -v \"$(pwd)/:/src\" -w /src sergioribera/rust-android:180-sdk-33 assembleDebug -p gradle\n# Release\ndocker run --rm -it -v \"$(pwd)/:/src\" -w /src sergioribera/rust-android:180-sdk-33 assembleRelease -p gradle\n```\n\nGithub Action:\n\u003e **Note:** for more information, consider looking at my project [kill errors](https://github.com/SergioRibera/game_kill_errors)\n```yaml\nenv:\n  APP_NAME: my_application\n\njobs:\n  native_build:\n    container: sergioribera/rust-android:180-sdk-33\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: Swatinem/rust-cache@v2\n      - name: Load .env file\n        uses: xom9ikk/dotenv@v2\n      # Start to build\n      - name: build apk\n        run: gradle assembleRelease -p launchers/mobile/android\n      - name: Rename APK\n        run: |\n          cp launchers/mobile/android/build/outputs/apk/release/android-release.apk ${{ env.APP_NAME }}.apk\n      - name: build aab\n        run: |\n          apk2aab ${{ env.APP_NAME }}.apk ${{ env.APP_NAME }}.aab\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioribera%2Fdocker-rust-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergioribera%2Fdocker-rust-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioribera%2Fdocker-rust-android/lists"}