Sign inSign up

sagu/mozilla

By sagu

Updated almost 6 years ago

Image
0

464

sagu/mozilla repository overview

Mozilla build environment in docker

What's included
  • all dependencies for building firefox
  • MozPhab
  • hg is configured (except with your username)
  • you can even run firefox from docker
Some instructions

To access bash (change '/home/user/mozilla-central' to your mozilla-central folder):

docker run -it --rm --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --env="DISPLAY" --net=host -v /home/$USER/mozilla-central:/mozilla sagu/mozilla

or if you do not plan to use GUI:

docker run -it --rm -v /home/$USER/mozilla-central:/mozilla sagu/mozilla

To store data of phab and setups use:

docker run -it --rm --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --env="DISPLAY" --net=host -v /home/$USER/mozilla-central:/mozilla -v /home/$USER/data:/home/wizard sagu/mozilla

first mach bootstrap could take long.

First time

If you do not have mozilla-central folder yet, you make an empty directory:

mkdir -p /home/$USER/mozilla-central

and then run above Docker command. When you get to shell type:

hg clone https://hg.mozilla.org/mozilla-central/ .

and then you are ready to help firefox.

Every time run when you enter container run:
./mach bootstrap
Set up username in repo
nano ./hg/hgrc

Tag summary

Content type

Image

Digest

Size

571.7 MB

Last updated

almost 6 years ago

docker pull sagu/mozilla