Sign inSign up

trion/android-build

By trion

Updated over 7 years ago

Build Android applications in docker

Image
1

1.1K

trion/android-build repository overview

docker-android-build

Build Android applications in Docker

This is useful for build systems like travis or gitlab that require a container with installed tools.

Example build for gitlab-ci

stages:
- release

variables:
  GRADLE_OPTS: "-Dorg.gradle.daemon=false"

before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

build:
    stage: release
    image: trion/android-build
    tags:
      - x86_64
    script:
        - ./gradlew clean assembleRelease
    artifacts:
        expire_in: 2 weeks
        paths:
            - app/build/outputs/apk/*.apk

Tag summary

Content type

Image

Digest

Size

2.4 GB

Last updated

over 7 years ago

docker pull trion/android-build