Public | Automated Build

Last pushed: 10 months ago
Short Description
Android build tools by gradle2.2
Full Description

android_build_gradle2.2

This is a Dockerfile for Android build projects.

Included

  • OpenJDK 8
  • Gradle 2.2
  • platform-tools,build-tools
  • Android SDK (android-19、21、22、23)
  • Android Support Libraries

How to use

Build docker image

docker build -t jmcn/android_build_gradle2.2 .

Run docker image

docker run --rm \
    -v ~/project:/project \
    -v ~/.gradle:/root/.gradle \
    jmcn/android_build_gradle2.2:latest /bin/bash -c "cd /project;gradle assembleRelease";

use -v to mount your android project directory and gradle cache

Docker Pull Command
Owner
jmcn
Source Repository

Comments (0)