Public | Automated Build

Last pushed: 19 days 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/envsetup.sh && lunch aosp_hammerhead-userdebug && make otapackage -j8
" > build.sh
chmod a+x build.sh

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/start.sh /scripts/build.sh

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/start.sh ./gradlew build
Docker Pull Command
Owner
wangmuy
Source Repository

Comments (0)