File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,19 @@ RUN git clone https://github.com/glandium/git-cinnabar /home/user/.git-cinnabar
77 && echo "PATH=\"\$ PATH:/home/user/.git-cinnabar\" " >> /home/user/.bashrc
88ENV PATH $PATH:/home/user/.git-cinnabar
99
10- # Download Firefox's source code.
11- RUN git -c cinnabar.clone=https://github.com/glandium/gecko clone hg::https://hg.mozilla.org/mozilla-unified /home/user/firefox
10+ # Download Firefox's source code using git-cinnabar.
11+ # Source: https://github.com/glandium/git-cinnabar/wiki/Mozilla:-A-git-workflow-for-Gecko-development
12+ RUN git -c cinnabar.clone=https://github.com/glandium/gecko clone hg::https://hg.mozilla.org/mozilla-unified /home/user/firefox \
13+ && cd /home/user/firefox \
14+ && git config fetch.prune true \
15+ && git remote add try hg::https://hg.mozilla.org/try \
16+ && git config remote.try.skipDefaultUpdate true \
17+ && git remote set-url --push try hg::ssh://hg.mozilla.org/try \
18+ && git config remote.try.push +HEAD:refs/heads/branches/default/tip \
19+ && git remote add inbound hg::ssh://hg.mozilla.org/integration/mozilla-inbound \
20+ && git config remote.inbound.skipDefaultUpdate true \
21+ && git config remote.inbound.push +HEAD:refs/heads/branches/default/tip \
22+ && git fetch --tags hg::tags: tag "*"
1223WORKDIR /home/user/firefox
1324
1425# Add Firefox build configuration.
You can’t perform that action at this time.
0 commit comments