Skip to content

Instantly share code, notes, and snippets.

@piatra
Created July 17, 2018 15:45
Show Gist options
  • Save piatra/0ded9d3fcb727252339f926a4847b374 to your computer and use it in GitHub Desktop.
Save piatra/0ded9d3fcb727252339f926a4847b374 to your computer and use it in GitHub Desktop.
docker recipe for firefox artifact build
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