1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00
Go to file
Sean Leonard 0f2f1a0b8c Add lz4 tools to the dockerfile
Install liblz4-tool for lz4 and lz4c required to package cyanogenmod images.
2015-04-18 13:20:01 -07:00
.dockerignore Add .dockerignore 2014-07-19 13:40:25 +02:00
.gitignore Add ccache to .gitignore 2014-07-19 13:40:24 +02:00
android-env-vars.sh Use ccache (really) 2014-07-19 13:40:23 +02:00
CHANGELOG.md [RELEASE] v0.3.1 2015-04-03 20:31:05 +02:00
Dockerfile Add lz4 tools to the dockerfile 2015-04-18 13:20:01 -07:00
README.md Update README.md for cm-12.0 2014-12-22 18:36:09 +01:00
run.sh After successful build, delete existing containers 2015-04-03 20:29:37 +02:00
startup.sh startup.sh: Be more verbose 2015-03-16 11:05:32 +01:00

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
source build/envsetup.sh
breakfast <device codename>   # example: breakfast grouper
brunch <device codename>      # example: brunch grouper

For further information, check the following links:

More information

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