Firefox OS/Performance/Using Docker to Ease Debugging Firefox OS: Difference between revisions
< Firefox OS | Performance
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
== Setting up a Private Docker Registry == | == Setting up a Private Docker Registry == | ||
The first step is to set up a private docker registry for Firefox OS related docker images. This process is already documented in several places: [http://www.activestate.com/blog/2014/01/deploying-your-own-private-docker-registry] [https://blog.codecentric.de/en/2014/02/docker-registry-run-private-docker-image-repository/] | |||
== Dockerfile for a B2G Build Image == | == Dockerfile for a B2G Build Image == | ||
Line 19: | Line 21: | ||
</pre> | </pre> | ||
== Elastic Beanstalk for Scaling == | == Create VirtualBox Image with Vagrant Provisioner == | ||
To ease the transition for Windows and Mac OS X users, we will build a VirtualBox image with the Vagrant Provisioner installed and configured to pull the latest B2G building docker image and start it on boot. This is documented here: [http://docs.vagrantup.com/v2/provisioning/docker.html] | |||
=== Future: Elastic Beanstalk for Scaling === |
Revision as of 21:00, 24 April 2014
Proposal
- Set up private Docker Registry.
- Configure a Docker image for building B2G from source on every commit.
- 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 VirtualBox image with the vagrant docker provisioner installed and configured to provision the latest docker image and start it on boot.
- Write docs for Windows/Mac users on setting up a VM to run docker images.
- Write docs for Linux users on running docker images.
- Update bisection doc on how to grab the right docker image and flash a phone with the results.
Setting up a Private Docker Registry
The first step is to set up a private docker registry for Firefox OS related docker images. This process is already documented in several places: [1] [2]
Dockerfile for a B2G Build Image
Here's is the Dockerfile for a B2G build image:
from ubuntu
Create VirtualBox Image with Vagrant Provisioner
To ease the transition for Windows and Mac OS X users, we will build a VirtualBox image with the Vagrant Provisioner installed and configured to pull the latest B2G building docker image and start it on boot. This is documented here: [3]