A docker image build with Android build environment.
890
A docker image build with Android build environment.
It include following components:
The docker image is publicly automated build on Docker Hub, so there is no hidden staff in image. To pull the latest docker image:
docker pull mingc/android-build-box:latest
You 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 mingc/android-build-box bash -c 'cd /project; ./gradlew build'
If you have Android code in Bitbucket and want to use it pipeline to build your Android code, you can simply specific this docker image.
Here is an example of bitbucket-pipelines.yml
image: mingc/android-build-box:latest
pipelines:
default:
- step:
script:
- chmod +x gradlew
- ./gradlew assemble
If you want to build docker image by yourself, you can use docker build to build your image.
The image itself up to 5.5 GB, check your free disk space before build it.
docker build -t android-build-box .
If you want to enhance this docker image for fix something, feel free to send pull request.
Content type
Image
Digest
Size
2.2 GB
Last updated
over 9 years ago
docker pull mkitek/docker-android-build-box