Android SDK (current version 26.1.1) with gradle configured for Alpine.
913
This is a Docker project to compile any Android project with Gradle support. The container uses the alpine version, to be lightweight, which should be enough for most projects. It gets the Android SDK release from Android official repository (current version 26.1.1).
NOTE that by using this tool, your are automatically agreeing with the Android SDK terms of use. Use at your own risk. Check Android Developer Website for more information.
Clone the project or just download the Dockerfile in any directory of your choice, eg. [DIRECTORY].
docker build -t android-sdk https://github.com/fabricio-godoi/docker-android-sdk.git
cd [DIRECTORY]
git clone https://github.com/fabricio-godoi/docker-android-sdk.git
docker build -t android-sdk ./docker-android-sdk
docker run --rm -v "$PWD":/project -w /project android-sdk chmod +X ./gradlew && ./gradlew assemble[Version]
Where "[Version]" is the release type of your Android project defined in the Gradle.
Content type
Image
Digest
Size
360.6 MB
Last updated
almost 7 years ago
docker pull fngodoi/android-sdk