Docker image for aosp development


#1

I am planning to move on from ubuntu to arch Linux soon, to continue developing aosp i am planning on using an ubuntu docker image.
If anyone has some experience with this I am looking for an image made specifically for aosp development and based off 16.04 for open jdk8 support.
Thanks.


#2

All that’s needed is 16.04 and openjdk?

Well, if you can’t find anything pre-built it should be pretty easy to
put together a Dockerfile yourself. Perhaps you can use this one as a
template:
https://git.linaro.org/people/daniel.thompson/toys.git/tree/docker/developer/Dockerfile

Just update FROM, MAINTAINER and modify the apt-get install to pick up
everything Android needs… If you want to really get into the docker
spirit you could also pre-install tools like repo.

Actually… if you just want somewhere to hack you don’t even need to do
that: