Sign inSign up

lhcpig/android

By lhcpig

Updated over 10 years ago

This docker is to build Android Gradle project with Java 8.

Image
1

10K+

lhcpig/android repository overview

This docker is to build Android Gradle project with Java 8.


1. Version

  • Java 8
  • Gradle 2.2.1
  • Android_sdk r24.4.1
  • Android_m2repository r25
  • Android_support r23.1.1
  • Android_platform 22_r02
  • Android_build_tools r23.0.2

2. How to use

  • Just use the command:
sudo docker run --rm -v /project/path:/app lhcpig/android
  • Change directory to your project directory, than replace /project/path to $(pwd) :
sudo docker run --rm -v $(pwd):/app lhcpig/android
  • If you don't want to download the dependency everytime, you can use the command:
sudo docker run --rm -v ~/.gradle:/root/.gradle -v /project/path:/app lhcpig/android

so you can cache it in the path ~/.gradle.

Tag summary

Content type

Image

Digest

Size

898.9 MB

Last updated

over 10 years ago

docker pull lhcpig/android