Container image with a full JDK (Eclipse Temurin, not JRE) and a pre-installed Android SDK for compiling Android apps.
Intended for CI and intranet/offline APK builds: after you pull this image, you do not need dl.google.com for the JDK, platform, platform-tools, or build-tools that are already in the layers.
eclipse-temurin *-jdk)sdkmanager)platforms;android-<API> matching the image tagplatform-toolsbuild-tools (for example API 36 installs build-tools;36.0.0, API 36.1 installs 36.1.0)
JAVA_HOME is /opt/java/openjdk. ANDROID_SDK_ROOT is /opt/android-sdk-linux.Gradle, the Android Gradle Plugin, project dependencies, NDK, CMake, and the emulator are not bundled. Supply Gradle and Maven artifacts from your own repository (distributionUrl and repositories).
<api>-jdk<jdk> — for example 36-jdk25.0.3_9.
Published combinations:
| Android API | JDK 17.0.19_10 | JDK 21.0.11_10 | JDK 23.0.2_7 | JDK 25.0.3_9 |
|---|---|---|---|---|
| 34 | yes | yes | yes | yes |
| 35 | yes | yes | yes | yes |
| 36 | yes | yes | yes | yes |
| 36.1 | yes | yes | yes | yes |
| 37.0 | yes | yes | yes | yes |
Multi-arch: linux/amd64 and linux/arm64. | ||||
Pick a tag whose API level matches your project's compileSdk. Otherwise Gradle may try to download another platform. |
docker pull mahdikenevisi/android-sdk:36-jdk25.0.3_9
As a base image:
FROM mahdikenevisi/android-sdk:36-jdk25.0.3_9
Fork of saschpe/docker-android-sdk. Licensed under Apache 2.0.
Content type
Image
Digest
sha256:930f7c4a4…
Size
610.3 MB
Last updated
2 months ago
docker pull mahdikenevisi/android-sdk:37.0-jdk25.0.3_9