Skip to content Skip to sidebar Skip to footer

Is It Possible To Build Aosp Inside A Docker Container With Alpine Flavour?

I'm very much new to AOSP and I'm trying setup the complete AOSP on the Docker to build a Docker Image like Alpine or Ubuntu image, if it not possible please let me know the reaso

Solution 1:

Android team has provided a Dockerfile, docker build command to build the image, and docker run command to run a container : https://android.googlesource.com/platform/build/+/master/tools/docker

As mentioned there, you can mount your local AOSP source tree to the container using -v option in docker run command.

I have not tried to build AOSP in a Docker container. But in this question, @VasileM has mentioned that he uses the Android provided Docker instance to build AOSP.

Post a Comment for "Is It Possible To Build Aosp Inside A Docker Container With Alpine Flavour?"