Skip to content

thedrhax-dockerfiles/android-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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