Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 690 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 690 Bytes

Android SDK for Docker

This image contains the latest versions of Android SDK and Gradle. Feel free to contribute ;)

Examples

Start a container and open the shell

docker run -it thedrhax/android-sdk bash

Build the project in current directory

docker run -it -v $(pwd):/home/user/project -w /home/user/project -u $(id -u):$(id -g) thedrhax/android-sdk gradle build

Persistent Android SDK and caches

  • -v android-sdk:/home/user/android-sdk-linux
  • -v gradle-cache:/home/user/.gradle
  • -v android-cache:/home/user/.android