You want to build Android apps on your CI server or just play around with certain Android SDKs? Then these Docker images could come in very handy!
They are all built and automatically published on Dockerhub - check out the list of tags available.
To play around with an image locally, install Docker and run one of these commands:
# run the minimal image (just Java + sdkmanager)
docker run --rm -it mreichelt/android:minimal
# or run an image with SDK 28 installed
docker run --rm -it mreichelt/android:28
# this one also contains the emulator + system image:
docker run --rm -it mreichelt/android:28-system
# or, if you want the newest 3 SDKs (currently 28, 27 and 26):
docker run --rm -it mreichelt/android:latest
Check out the list of tags and choose the Docker image you need.
If you use GitLab, you can set up builds for your Android app in a jiffy. Just add the following .gitlab-ci.yml
file to your project:
image: mreichelt/android:28
build:
stage: build
script:
- ./gradlew check assemble
That's it! Happy hacking! 😊
Pull requests are welcome! 🎉
Also, check out the issues to create bugreports, feature requests, etc.
Check out if your issue is already resolved, or create a new support request. Or just ping me on Twitter!
Also, I'd love to know what you are using it for and how you like it!
- Marc Reichelt
- Yes, I'm actively looking for maintainers 🔭! Drop me a mail if you're interested!