Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

xmartlabs/docker-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

docker-android

Docker image for Android development.

NB: While building the image, it automatically accepts the related Android SDK licenses.

Usage

You can build another image on top of this one (e.g., a Jenkins CI server) by using multi-stage builds in your Dockerfile like:

FROM xmartlabs/android AS android

FROM other-image
ENV ANDROID_HOME /opt/android-sdk-linux
COPY --from=android ${ANDROID_HOME} ${ANDROID_HOME}
COPY --from=android /usr/lib/jvm/java-8-oracle /usr/lib/jvm/java-8-oracle
COPY --from=android /usr/bin/gradle /usr/bin/gradle
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools

Releases

No releases published

Packages

No packages published