A Docker image for Android CICD
104
This Dockerfile creates a development environment for working with Android mobile development.
Key Features:
Based on Ubuntu 24.04 (amd64 platform) Installs Android SDK tools, Node.js, Yarn, OpenJDK, Gradle Sets up development environment for mobile development user (mobiledevops) Includes functionality to install additional Android SDK packages through a dependencies.txt file Who should use this?
Mobile developers who want a ready-to-use development environment with Android SDK tools How to get started:
Build the image: docker build -t android-dev . (replace . with the path to your Dockerfile) Run a container: docker run -it android-dev bash (this will drop you into a shell within the container) Install your desired Android SDK packages by adding them to a dependencies.txt file in the container and running sh update_android_sdk.sh (script not provided in this Dockerfile but can be created based on the update commands) Your development directory is set to /home/mobiledevops/app Additional Notes:
This Dockerfile downloads Android SDK tools based on a predefined version and checksum. You may want to update these environment variables to reference the latest version. The Dockerfile includes commands to accept Android SDK licenses. Further Exploration:
You can customize this Dockerfile to install additional development tools based on your specific needs. Explore ways to automate the build and deployment process for your mobile application projects.
Content type
Image
Digest
sha256:d64936511…
Size
2.2 GB
Last updated
over 2 years ago
docker pull bunkerdockerhub/android:v1.0.5