pmabres / docker-android-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-cloud Build

Use one of the following Tags: (see below)

ubuntu-standalone ubuntu-lazydl alpine-standalone alpine-lazydl latest lazydl

"latest" and "lazydl" are pointing to the ubuntu images

docker-android-sdk

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

Ubuntu The officialy supported Linux distribution for Android SDK builds. Use this one if you are unsure, which is better.

Alpine More lightweight Linux Distribution optimized for docker containers.

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 builing 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. I will provide an example docker-compose file to make this more clear. Might take a couple of days, though.

About


Languages

Language:Dockerfile 50.8%Language:Shell 49.2%