Android source development environment This image allows you to build the Android source code.
957
from: http://source.android.com/source/initializing.html and: http://source.android.com/source/downloading.html#installing-repo
You can either pull from kgersen/abe:
docker pull kgersen/abe
docker run -it -v /path_to_source:/path_to_source kgersen/abe /bin/bash
or add it to your Dockerfile:
FROM kgersen/abe
mkdir /home/user/shield-open-source
fetch the instruction page at: https://developer.nvidia.com/shield-open-source (you should end up seeing a text page starting with "Welcome to the SHIELD Open Source + Binary Driver Release"). note the 'repo init -u ...' line
launch a container
docker run -it --rm --name abe -v /home/user/shield-open-source:/root/shield-open-source kgersen/abe /bin/bash
cd /root/shield-open-source
repo init -u git:.... (same line as noted in step 2)
repo sync -j5
This will fetch the source code. This can take a very long time. The code will be downloaded in the /root/shield-open-source folder inside the container which is the /home/user/shield-open-source folder on your host (or whatever folder you used in the step 1)
ctrl-p + ctrl-q to detach from it without killing it. Then use docker attach abe to reconnect to it.If you want to build only the kernel or use a build cache, follow the instructions here: https://bitbucket.org/nopnop9090/shieldtv-kernel/wiki/Home (map the .cache folder a host folder or the cache will be destroyed when the container ends)
Content type
Image
Digest
Size
478.3 MB
Last updated
over 10 years ago
docker pull kgersen/abe