Sign inSign up

groovytron/android

By groovytron

Updated over 6 years ago

Container embedding Android SDK to build and test your Android projects.

Image
0

4.6K

groovytron/android repository overview

Docker container for Android build

Build Status

Docker container allowing you to build and test your Android project.

Each of these images embeds the following softwares:

Check the build.yaml to see which version is embedded of each software is installed in the image you are using. We try to keep them up to date when a new version is available.

Use the container

We recommend you use the dev user instead of root when running that container to avoid privilege escalation.

The container's working directory is /home/dev/android_project so we advise you to mount your project directory onto this place.

Building the project interactively in the container

To run the container and open a bash in your android project run the following command:

docker run -it --entrypoint /bin/bash --user=dev --volume=<path-to-your-android-project-directory>:/home/dev/android_project groovytron/android:latest

You can then the following commands in the container to check if everything works:

  • ./gradlew to install appropriate gradle version for your project
  • ./gradlew tasks to list the available tasks
  • ./gradlew assembleDebug to build a debug APK

Contribute to the project

Upgrading an image or create a new up-to-date

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 6 years ago

docker pull groovytron/android