A docker image build with Android build environment.
Lite and stripped version of https://github.com/mingchen/docker-android-build-box
It includes the following components:
- Ubuntu 20.10
- Android SDK 30
- Android build tools 30.0.0
- Open JDK8, git, curl, wget, unzip,
- Python 2.7, Pip 2
You can use this docker image to build your Android project with a single docker command:
cd <android project directory> # change working directory to your project root directory.
docker run --rm -v `pwd`:/project sreejithhme/android-build-lite bash -c 'cd /project; ./gradlew build'
If you want to build the docker image by yourself, you can use following command. The image will take itself more than 1 GB, check your free disk space before building it.
docker build -t android-build-lite .