FROM fedora MAINTAINER Bert van der Weerd RUN dnf -y update # locale stuff, see: https://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora RUN echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf RUN dnf -y reinstall glibc-common # Install build dependencies.. run dnf -y install wget python3 python3-pip python3-devel mercurial # Fetch mozilla nightly.. run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py run echo python3 bootstrap.py --no-interactive --application-choice=browser run rm -rf mozilla-unified bootstrap.py # Build it.. copy version / run wget -q https://archive.mozilla.org/pub/firefox/releases/$(cat /version)/source/firefox-$(cat /version).source.tar.xz run tar xf firefox-$(cat /version).source.tar.xz run ln -s firefox-$(cat /version) work workdir work run ./mach build run ./mach package