mreichelt / docker-android

Docker images for Android development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker images for Android development

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.

Getting started

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 specific SDK installed
docker run --rm -it mreichelt/android:31

# this one also contains the emulator + system image:
docker run --rm -it mreichelt/android:31-system

# or, if you want the newest 3 SDKs (currently 31, 30, and 29):
docker run --rm -it mreichelt/android:latest

Check out the list of tags and choose the Docker image you need.

Getting started on GitLab

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:31

build:
  stage: build
  script:
    - ./gradlew check assemble

That's it! Happy hacking! 😊

Getting Started on CircleCi

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 πŸŽ‰.

Contributing

Pull requests are welcome! πŸŽ‰

Also, check out the issues to create bugreports, feature requests, etc.

Support

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!

Maintainers

  • Marc Reichelt
  • Yes, I'm actively looking for maintainers πŸ”­! Drop me a mail if you're interested!

About

Docker images for Android development

License:MIT License


Languages

Language:Dockerfile 53.4%Language:Shell 46.6%