Docker image for Android builds.
It use CentOS 7 as default base image. But you have another choice base on Ubuntu 14.04. ubuntu/Dockerfile.
- Oracle Java 8
- Android SDK
- Build Tools 23.0.3 & 24.0.3
- Platform SDK 23 & 24
- Pre-installed Gradle version 3.1
You can pull the image form DaoCloud's image repository by using docker pull
or dao pull
.
docker pull daocloud.io/nekocode/docker-android:<lastest-verion>
dao pull daocloud.io/nekocode/docker-android:<lastest-verion>
You can get the <lastest-verion>
here.
In CI enviroment, you can use gradle app:assembleRelease
instead of ./gradlew app:assembleRelease
to speed up your build.