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

25 lines
797 B
Docker

FROM ubuntu
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
RUN apt-get -y update && apt-get -y upgrade
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Amsterdam
# Install build dependencies..
run apt-get -y install wget python3 python3-pip python3-dev mercurial
# Build mozilla nightly..
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
run 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