Home | History | Annotate | only in /build/make/tools/docker
Up to higher level directory
NameDateSize
Dockerfile21-Aug-20181.2K
README.md21-Aug-2018670

README.md

      1 The Dockerfile in this directory sets up an Ubuntu Trusty image ready to build
      2 a variety of Android branches (>= Lollipop). It's particulary useful to build
      3 older branches that required 14.04 if you've upgraded to something newer.
      4 
      5 First, build the image:
      6 ```
      7 # Copy your host gitconfig, or create a stripped down version
      8 $ cp ~/.gitconfig gitconfig
      9 $ docker build --build-arg userid=$(id -u) --build-arg groupid=$(id -g) --build-arg username=$(id -un) -t android-build-trusty .
     10 ```
     11 
     12 Then you can start up new instances with:
     13 ```
     14 $ docker run -it --rm -v $ANDROID_BUILD_TOP:/src android-build-trusty
     15 > cd /src; source build/envsetup.sh
     16 > lunch aosp_arm-eng
     17 > m -j50
     18 ```
     19