Public | Automated Build

Last pushed: 2 years ago
Short Description
Android docker used in wercker
Full Description

android-java7

This docker is to build Android Gradle project with Java 7.
It is available on Docker Hub https://registry.hub.docker.com/u/azinger/android/ .

Contains:

  • Android API: 23
  • Support maven repository
  • Google maven repository
  • Arm emulator: v23
  • Platform tools
  • Created emulator image named: "Nexus 5"

Build image

docker build -t azinger/android .

If building fail you can debug via where 1b372b1f76f2 is partial build

docker run --tty --interactive --rm 1b372b1f76f2 /bin/bash

Push build version to repository

docker push azinger/android:java7

Usage

Change directory to your project directory, than run:

docker run --tty --interactive --volume=$(pwd):/opt/workspace --workdir=/opt/workspace --rm azinger/android:java7  /bin/sh -c "./gradlew build"
Docker Pull Command
Owner
azinger
Source Repository

Comments (0)