Skip to content

mindrunner/docker-android-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License

docker-android-sdk

Docker image containing the Android SDK

· Report Bug · Request Feature ·

Table of Contents
  1. Announcement About The Project
  2. Usage
  3. Roadmap
  4. Contributing
  5. Disclaimer
  6. License
  7. Donations

Announcement

Builds

  • The build pipeline was migrated to github actions. (see below for available tags)
  • Nightly build are suffixed with the date

Major Changes

  • JDK was upgraded from 11 to 17

2023 Spring Cleaning

(back to top)

About The Project

docker-android-sdk

This repository contains Dockerfiles to create Docker images containing the Android SDK. There are two flavors for different use cases (lazydl, standalone) and two different linux bases (ubuntu, alpine). Feel free to chose which one suits you best.

Ubuntu The officially supported Linux distribution for Android SDK builds. Use this one if you are unsure.

Alpine More lightweight Linux Distribution optimized for docker containers. (Not officially supported / Android Emulator broken)

Standalone This is the standard expected behaviour. The Android SDK is integrated in the docker image. Use this in your android build on CircleCI, Bitbucket Pipelines, or any other docker enabled CI.

Lazydl Indeed, there is a lack of documentation and it might be not really intuitive to use the image in this way. The idea is to have two containers for the build process. One of which is the building container executing the actual build. The other one is the sdk-data container, which downloads the whole SDK into a named docker volume which is shared between both containers.

Lazydl can also be used to download and prepare a custom list of sdk components if you only need a portion of the sdk. Just mount a volume in at runtime pointing a list named package-list-minimal.txt into /opt/tools/package-list-minimal.txt and then run /opt/tools/entrypoint.sh built-in. You can also use Lazydl as a base for your own custom image.

(back to top)

Tags

Matrix building strategy with os = [ ubuntu, alpine ] and flavor = [ lazydl, standalone ]

Use one of the following Tags: (see below)

  • ${os}-${flavor}
  • latest
  • ${flavor} [resolves to ubuntu]
  • ${os}-${flavor}-${YYYYMMDD}
  • ${os}-${flavor}-sha-${commit_sha}
  • ${os}-${flavor}-${branch}

See https://hub.docker.com/repository/docker/runmymind/docker-android-sdk for all available tags

Built With

Docker

(back to top)

Usage

TBD.

Compile and run

TBD.

Roadmap

  • [] TBD.

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Disclaimer

TBD.

(back to top)

License

Distributed under the GPLv3. See LICENSE for more information.

(back to top)

Donations

Paypal

Bitcoin

  • bc1q7uqyr4qh66tt8sz5ftw2e8septtpykksad4kpv

EVM (Ethereum, Polygon, Arbitrum, BSC, ...)

  • 0xC5eb68c9218AF7D0d4f40DB42041166B27525148

Solana

  • 48gzzxipVLbt8WuTmxYMGwYQK5fD3yQSy7yRsXSRwP7N

(back to top)