Android development environment in Docker Android development environment in Docker docker docker

Android development environment in Docker


You can also use a registry :

https://registry.hub.docker.com/u/ksoichiro/android/

That is very simple, because you download an image that is ready! Enjoy!


The link you submitted has all the files you need to build the environment described.The second step links to a Dockerfile to build the image used to build Android APKs.The third step links to a perl script, which I supposed is used to build the Android APK (I have not knowledge about Android development, but I think you will have to mod this script if you want to build your own apps).And the fourth links to a bash script which is used to manage all these things (build the Dockerimage, build the apk...).

You can download all of these files one by one, or you can clone all the repository and build from there:

  1. Clone the git repository

    git clone git@github.com:camlistore/camlistore.git

  2. Navigate to the folder

    cd camlistore/clients/android/

  3. Build the Docker image using the make script

    make env

  4. Build the APK using the scripts

    make dockerrelease

It seems to be a good start point, but you will need to change someway the scripts to build the apks you wish.