Created
July 17, 2018 15:45
-
-
Save piatra/0ded9d3fcb727252339f926a4847b374 to your computer and use it in GitHub Desktop.
docker recipe for firefox artifact build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:16.04 | |
| # Basic boostrap | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| git \ | |
| python \ | |
| build-essential \ | |
| wget \ | |
| curl \ | |
| xvfb \ | |
| rsync | |
| # Bootstrap will install all the specific requirements | |
| # Setup for artifact build | |
| RUN mkdir -p /firefox/src && cd /firefox/src \ | |
| && wget https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py --no-check-certificate \ | |
| && python ./bootstrap.py --application-choice=browser_artifact_mode --no-interactive | |
| ## Install npm | |
| RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs | |
| ## Add mozilla-central | |
| ADD . /firefox/src/mozilla-central |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment