Public | Automated Build

Last pushed: 3 months ago
Short Description
Docker container with an Android build environment
Full Description

Android-sdk

Docker container with an Android build environment. Compatible with Gitlab CI.

Includes:

  • Build tools
  • Platform
  • Gradle
  • Support library + maven repo

Tags

Docker hub tags are maintained for each Android version (e.g. 21-lollipop). These will be rebuilt as support library/build tools are updated.

Usage

docker run -v <project_dir>:/workspace danhawkes/android-sdk <command>

e.g.          /my-project:/workspace                         gradle assembleRelease

Customisation

Via build args:

  • gradle_version
  • sdk_url
  • sdk_components - Components to install, in the form of a filter string for the android sdk command.

    A list of available SDK components can be obtained by running this command inside the container:

      android list sdk -a -e | grep 'id:' | awk '{print $4}' | sed 's:"::g'
    
Docker Pull Command
Owner
danhawkes
Source Repository

Comments (0)