Sign inSign up

xmartlabs/android

By xmartlabs

Updated over 8 years ago

Docker image for Android development.

Image
4

10K+

xmartlabs/android repository overview

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

Tag summary

Content type

Image

Digest

Size

685.7 MB

Last updated

over 8 years ago

docker pull xmartlabs/android