Public | Automated Build

Last pushed: 7 months ago
Short Description
make 3.81/3.82 compatible.OpenJDK7/8
Full Description

AOSP based board building environment. Based on Ubuntu:16.04

Edit your build script and start with it:

echo "
export ANDROID_JACK_VM_ARGS='-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g'
cd /aosp && source build/ && lunch aosp_hammerhead-userdebug && make otapackage -j8
" >
chmod a+x

docker run --rm -it -v $(pwd):/scripts -v /media/wf/android-6.0.0_r1/aosp:/aosp \
-v /media/wf/android-6.0.0_r1/ccache:/tmp/ccache \
wangmuy/aosp /scripts/ /scripts/

Or use this as a sdk runner:

docker run --rm -it -v android-sdk:/android-sdk -e ANDROID_HOME=/android-sdk \
-v gradle:/gradle -e GRADLE_HOME=/gradle \
-e JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
-v workspace:/workspace -e WORKDIR_USER=/workspace \
wangmuy/aosp /scripts/ ./gradlew build
Docker Pull Command
Source Repository