windows/docker/nightly/fedora/Dockerfile
Bert van der Weerd 543d8c34d5
Docker builds
2021-09-28 16:43:36 +02:00

20 lines
709 B
Docker

FROM fedora
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
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
# Build it..
run rm bootstrap.py
workdir mozilla-unified
run ./mach build
run ./mach package