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 kibatic/android-react-native:minimal
# or run an image with SDK 28 installed
docker run --rm -it kibatic/android-react-native:28
# this one also contains the emulator + system image:
docker run --rm -it kibatic/android-react-native:28-system
# or, if you want the newest 3 SDKs (currently 28, 27 and 26):
docker run --rm -it kibatic/android-react-native: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: kibatic/android-react-native:28
build:
stage: build
script:
- ./gradlew check assemble
That's it! Happy hacking! 😊
To set up CircleCi builds for your android project based on these images copy the CircleCI recipe into .circleci/config.yml
of your project - happy building 🎉.
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.
Also, I'd love to know what you are using it for and how you like it!
- Kibatic
- Forked from Marc Reichelt