https://github.com/trion-development/docker-android-build
Build Android in Docker
https://github.com/trion-development/docker-android-build
Last synced: 4 months ago
JSON representation
Build Android in Docker
- Host: GitHub
- URL: https://github.com/trion-development/docker-android-build
- Owner: trion-development
- Created: 2018-08-03T14:32:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-01T12:02:10.000Z (about 7 years ago)
- Last Synced: 2025-03-02T16:15:57.135Z (over 1 year ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-android-build
Build Android applications in Docker
This is useful for build systems like travis or gitlab that require a container with installed tools.
Example build for gitlab-ci
```
stages:
- release
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew
cache:
key: ${CI_PROJECT_ID}
paths:
- .gradle/
build:
stage: release
image: trion/android-build
tags:
- x86_64
script:
- ./gradlew clean assembleRelease
artifacts:
expire_in: 2 weeks
paths:
- app/build/outputs/apk/*.apk
```