/alpine-android

Small docker image for building Android applications.

Primary LanguageDockerfileApache License 2.0Apache-2.0

Alpine Android

Alpine Android Base Alpine Android
docker-base-pulls docker-pulls
docker-base-stars docker-stars

All images are based on adoptopenjdk/openjdk8:alpine-slim (JDK 8u222-b10)


Is possible to use latest tag to always use the latest Android SDK version.

Pull from Docker Hub

API level Command Info
Android 21 (5.0) docker pull alvrme/alpine-android:android-21 Info
Android 22 (5.1) docker pull alvrme/alpine-android:android-22 Info
Android 23 (6.0) docker pull alvrme/alpine-android:android-23 Info
Android 24 (7.0) docker pull alvrme/alpine-android:android-24 Info
Android 25 (7.1) docker pull alvrme/alpine-android:android-25 Info
Android 26 (8.0) docker pull alvrme/alpine-android:android-26 Info
Android 27 (8.1) docker pull alvrme/alpine-android:android-27 Info
Android 28 (9.0) docker pull alvrme/alpine-android:android-28 Info
Android 29 (10.0) docker pull alvrme/alpine-android:android-29 Info

Use as Base Image

API level Base Image
Android 21 (5.0) FROM alvrme/alpine-android:android-21
Android 22 (5.1) FROM alvrme/alpine-android:android-22
Android 23 (6.0) FROM alvrme/alpine-android:android-23
Android 24 (7.0) FROM alvrme/alpine-android:android-24
Android 25 (7.1) FROM alvrme/alpine-android:android-25
Android 26 (8.0) FROM alvrme/alpine-android:android-26
Android 27 (8.1) FROM alvrme/alpine-android:android-27
Android 28 (9.0) FROM alvrme/alpine-android:android-28
Android 29 (10.0) FROM alvrme/alpine-android:android-29

Run container

API level Command
Android 21 (5.0) docker run --rm -it alvrme/alpine-android:android-21
Android 22 (5.1) docker run --rm -it alvrme/alpine-android:android-22
Android 23 (6.0) docker run --rm -it alvrme/alpine-android:android-23
Android 24 (7.0) docker run --rm -it alvrme/alpine-android:android-24
Android 25 (7.1) docker run --rm -it alvrme/alpine-android:android-25
Android 26 (8.0) docker run --rm -it alvrme/alpine-android:android-26
Android 27 (8.1) docker run --rm -it alvrme/alpine-android:android-27
Android 28 (9.0) docker run --rm -it alvrme/alpine-android:android-28
Android 29 (10.0) docker run --rm -it alvrme/alpine-android:android-29

Extending from Alpine Android Base

Read more here

Difference between Alpine Android and Alpine Android Base

The main difference between Alpine Android and Alpine Android Base is that the first one includes the corresponding build-tools and platforms;android versions. All Alpine Android versions share 95% of the code. Using a base image with the common part makes it easier to maintain.