- Notifications
You must be signed in to change notification settings - Fork0
A docker image with Android build environment.
License
boris-penev/docker-android-build-box
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Adocker image build withAndroid build environment.
It includes the following components:
- Ubuntu 17.10
- Android SDK 16 17 18 19 20 21 22 23 24 25 26 27
- Android build tools 17.0.0 18.1.1 19.1.0 20.0.0 21.1.2 22.0.1 23.0.3 24.0.3 25.0.1 25.0.2 25.0.3 26.0.0 26.0.1 26.0.2 26.0.3 27.0.0
- Android NDK r15c
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
- Google API add-ons
- Android Emulator
- Constraint Layout
- TestNG
- Python 2, Python 3
- Node.js, npm, React Native
- Ruby, RubyGems, fastlane
The docker image is publicly automated build onDocker Hub based on the Dockerfile in this repo, so there is no hidden stuff in it. To pull the latest docker image:
docker pull borispenev/docker-android-build-box:latestYou can use this docker image to build your Android project with a single docker command:
cd <android project directory> # change working directory to your project root directory.docker run --rm -v `pwd`:/project borispenev/docker-android-build-box bash -c 'cd /project; ./gradlew build'If you have an Android project in a Bitbucket repository and want to use its pipeline to build it, you can simply specify this docker image.Here is an example ofbitbucket-pipelines.yml
image: borispenev/docker-android-build-box:latestpipelines: default: - step: script: - chmod +x gradlew - ./gradlew assembleIf gradlew is marked as executable in your repository as recommended, remove thechmod command.
If you want to build the docker image by yourself, you can use following command.The image itself is more than 5 GB, check your free disk space before building it.
docker build -t android-build-box .If you want to enhance this docker image for fix something, feel free to sendpull request.
About
A docker image with Android build environment.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.