Public | Automated Build

Last pushed: 5 months ago
Short Description
android-gradle docker
Full Description

android-gradle

Included

  • OpenJDK 8
  • Git
  • Gradle 3.3
  • Android NDK r10e
  • Android SDK (android-25)
  • Android Build-tools (25.0.0)
  • Android System Images(sys-img-armeabi-v7a-android-25,sys-img-armeabi-v7a-android-25)
  • Android Support Libraries
  • Google Play Services

Build image

docker build -t cangol/android-gradle .

Push build version to repository

docker push cangol/android-gradle

Usage

GitLab CI

This is what my .gitlab-ci.yml looks like:

image: cangol/android-gradle
stages:
  - build

build:
  stage: build
  script:
    - gradlew build
  only:
    - master

Without GitLab

docker pull cangol/android-gradle

Change directory to your project directory, then run:

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

Comments (0)