Giter Club home page Giter Club logo

docker-b2g-config's Introduction

docker-b2g-config

Use Docker to run the Boot2Gecko config script using Python 2.x.

Note that this container is only intended to run the ./config.sh script - you will need to run the ./build.sh script using a different container. simonjohansson/B2G-build is a good place to start.

Set up

  1. Clone this repository:

     git clone --recursive https://github.com/mparker17/docker-b2g-config.git
     cd docker-b2g-config/
    
  2. Build an image:

     docker build -t b2g-config .
    

Use

  1. Clone Boot2Gecko:

     git clone --recursive https://github.com/mozilla-b2g/B2G.git
     cd B2G/
    
  2. Run the Boot2Gecko configuration script. This is equivalent to running ./config.sh $device_name. Replace $device_name with the device name you want to build for.

     docker run --rm -ti -v $PWD:/B2G -w /B2G b2g-config $device_name
    

    You can leave out $device_name to build the emulator:

     docker run --rm -ti -v $PWD:/B2G -w /B2G b2g-config
    

Once the configuration script has finished successfully, you will need to run the ./build.sh script using a different container. simonjohansson/B2G-build is a good place to start.

Debugging

If you run into problems, you can run a shell in the container with:

    docker run --rm -ti -v $PWD:/B2G -w /B2G --entrypoint /bin/bash

To run a root shell, add -u root:

    docker run --rm -ti -v $PWD:/B2G -w /B2G -u root --entrypoint /bin/bash

For more information, see the Docker run reference.

docker-b2g-config's People

Contributors

mparker17 avatar

Stargazers

 avatar

Watchers

 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.