Firefox OS/Performance/Using Docker to Ease Debugging Firefox OS: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 1: Line 1:
== Proposal ==
== Proposal ==
1. Set up private Docker Registry.
# Set up private Docker Registry.
2. Configure a Docker image for building B2G from source on every commit.
# Configure a Docker image for building B2G from source on every commit.
2.1. Create a Jenkin's task to drive the docker daemon to update code, do the build, and snapshot the docker image into the registry.
## Create a Jenkin's task to drive the docker daemon to update code, do the build, and snapshot the docker image into the registry.
3. Write docs for Windows/Mac users on setting up a VM to run docker images.
# Write docs for Windows/Mac users on setting up a VM to run docker images.
4. Write docs for Linux users on running docker images.
# Write docs for Linux users on running docker images.
5. Update bisection doc on how to grab the right docker image and flash a phone with the results.
# Update bisection doc on how to grab the right docker image and flash a phone with the results.


== Setting up a Private Docker Registry ==
== Setting up a Private Docker Registry ==

Revision as of 20:55, 24 April 2014

Proposal

  1. Set up private Docker Registry.
  2. Configure a Docker image for building B2G from source on every commit.
    1. Create a Jenkin's task to drive the docker daemon to update code, do the build, and snapshot the docker image into the registry.
  3. Write docs for Windows/Mac users on setting up a VM to run docker images.
  4. Write docs for Linux users on running docker images.
  5. Update bisection doc on how to grab the right docker image and flash a phone with the results.

Setting up a Private Docker Registry

Dockerfile for a B2G Build Image

Here's is the Dockerfile for a B2G build image:

from ubuntu

Elastic Beanstalk for Scaling