geoah / docker-android-java8

Docker image for Android builds. Base on Oracle Java 8, Android Sdk 23/24 and Gradle 3.1.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-android

Apache 2.0 License

Docker image for Android builds.

Base Image

It use CentOS 7 as default base image. But you have another choice base on Ubuntu 14.04. ubuntu/Dockerfile.

What's Included

  • Oracle Java 8
  • Android SDK
  • Build Tools 23.0.3 & 24.0.3
  • Platform SDK 23 & 24
  • Pre-installed Gradle version 3.1

Usage

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.

About

Docker image for Android builds. Base on Oracle Java 8, Android Sdk 23/24 and Gradle 3.1.