Docker image containing the Android SDK
·
Report Bug
·
Request Feature
·
Table of Contents
- The build pipeline was migrated to github actions. (see below for available tags)
- Nightly build are suffixed with the date
- JDK was upgraded from 11 to 17
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.
Matrix building strategy with os = [ ubuntu, alpine ]
and flavor = [ lazydl, standalone ]
Use one of the following Tags: (see below)
${os}-${flavor}
latest
${flavor}
[resolves toubuntu
]${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
TBD.
TBD.
- [] TBD.
See the open issues for a full list of proposed features (and known issues).
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
TBD.
Distributed under the GPLv3. See LICENSE
for more information.
bc1q7uqyr4qh66tt8sz5ftw2e8septtpykksad4kpv
0xC5eb68c9218AF7D0d4f40DB42041166B27525148
48gzzxipVLbt8WuTmxYMGwYQK5fD3yQSy7yRsXSRwP7N