Skip to content

Create a Docker based build environment for CyanogenMod

Notifications You must be signed in to change notification settings

jaapp/docker-cyanogenmod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-cyanogenmod

Create a Docker based environment to build CyanogenMod.

This Dockerfile will create a docker container which is based on Ubuntu 14.04. It will install the "repo" utility and any other build dependencies which are required to compile CyanogenMod.

The main working directory is a shared folder on the host system, so the Docker container can be removed at any time.

NOTE: Remember that CyanogenMod is a huge project. It will consume a large amount of disk space (~80 GB) and it can easily take hours to build.

How to run/build

NOTES:

  • You will need to install Docker to proceed!
  • If an image does not exist, docker build is executed first
git clone https://github.com/stucki/docker-cyanogenmod.git
cd docker-cyanogenmod
./run.sh

The container uses "screen" to run the shell. This means that you will be able to open additional shells using screen keyboard shortcuts.

How to build CyanogenMod for your device

repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
repo sync
vendor/cm/get-prebuilts
source build/envsetup.sh
breakfast <device codename>   # example: breakfast grouper
brunch <device codename>      # example: brunch grouper

Links

For further information, check the following links:

More information

==================

About

Create a Docker based build environment for CyanogenMod

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%