Coder Social home page Coder Social logo

necklinux / aosp-build-environment-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trumeet/aosp-build-environment-docker

0.0 0.0 0.0 21 KB

A docker image to provide a systemless AOSP build environment

License: GNU General Public License v3.0

Shell 27.79% Dockerfile 72.21%

aosp-build-environment-docker's Introduction

Docker Automated build Docker Build Status Docker Pulls Image Layers Image Size Docker Stars

AOSP build environment on Docker

A easy to use AOSP build environment as a Docker image.

Things to remember

This is an image which provides a build environment (includes any tools required for building AOSP), you should use it as a shell, then do anything you wanted. It isn't a wrapper for Repo, Make or something else.

Usage

Use it as a independent shell, and mount a local path to save source and result:

$ docker run --rm -it \
  -v path/to/your/source/folder:/root \ # /root is reccomanded because it's the workdir
  thnuiwelr/aosp-build-environment bash

Once you entered the shell, you can start building from Downloading the Source#Initializing a Repo client, every tools required is ready.

You can let it run in background as well, just add your own command and -d option:

$ docker run --rm -it \
  -v path/to/your/source/folder:/root \ # /root is reccomanded because it's the workdir
  -d 
  thnuiwelr/aosp-build-environment "repo --help" # Will be wrapped as "sh -c repo --help"

Running in background is pretty useful in long time buildings.

Building custom ROMs

Some custom ROMs require extra packages to build. Here are the packages I included in the build:

  • bc

  • imagemagick

  • ccache

  • schedtool

These packages are included into the image directly.

License

GPL v3, feel free to contribute it.

aosp-build-environment-docker's People

Contributors

trumeet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.