Skip to content

slavasemeniuk/android-docker

 
 

Repository files navigation

Android docker image

An image that lets us build android apps with docker using gitlab-ci

Tags available

  • 30, latest
  • 30-emulator
  • 30-ndk
  • 30-stf-client
  • 30-jdk14
  • 29, latest
  • 29-emulator
  • 29-ndk
  • 29-stf-client
  • 29-jdk14

Unmaintained tags

  • 28
  • 28-emulator
  • 28-ndk
  • 28-stf-client

Build command

./update.sh
docker build -t ekreative/android:latest 30

Build an app

docker run -ti --rm --volume=$(pwd):/srv -w /srv ekreative/android ./gradlew assemble

Use emulator

docker run --rm -ti -v /dev/kvm:/dev/kvm --privileged ekreative/android
android-start-emulator
/gradlew cAT

Credit

Borrowed a few ideas from jacekmarchwicki/android And license accepter from thyrlian/AndroidSDK

Finding new packages

I use this command to list the available packages

sdkmanager --list

About

A docker image for building android apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 56.1%
  • Shell 43.9%