Docker builds

This commit is contained in:
Bert van der Weerd 2021-09-28 16:43:36 +02:00
parent ab5a09aab4
commit 543d8c34d5
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
25 changed files with 67 additions and 26 deletions

View file

@ -1,10 +1,11 @@
all :
make -C nightly
make -C librewolf
make -C release
clean :
sudo docker image prune --force
prune :
docker system prune --all --force

View file

@ -1,2 +0,0 @@
all :
sudo docker build -t librewolf/release-debian .

View file

@ -1,2 +0,0 @@
all :
sudo docker build -t librewolf/release-fedora .

View file

@ -1,2 +0,0 @@
all :
sudo docker build -t librewolf/release-mint .

View file

@ -1,2 +0,0 @@
all :
sudo docker build -t librewolf/release-ubuntu .

View file

@ -1,12 +1,5 @@
all :
make -C debian
make -C fedora
make -C ubuntu
make -C mint
clean :
sudo docker image prune --force

View file

@ -12,4 +12,8 @@ run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozbo
run python3 bootstrap.py --no-interactive --application-choice=browser
# Build it..
run rm bootstrap.py
workdir mozilla-unified
run ./mach build
run ./mach package

View file

@ -14,3 +14,7 @@ run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozbo
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

View file

@ -1,2 +1,2 @@
all :
sudo docker build -t mozilla/nightly-fedora .
sudo docker build --no-cache --rm -t mozilla/nightly-fedora .

View file

@ -12,5 +12,7 @@ run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozbo
run python3 bootstrap.py --no-interactive --application-choice=browser
# Build it..
run rm bootstrap.py
workdir mozilla-unified
run ./mach build
run ./mach package

View file

@ -12,3 +12,7 @@ run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozbo
run python3 bootstrap.py --no-interactive --application-choice=browser
# Build it..
run rm bootstrap.py
workdir mozilla-unified
run ./mach build
run ./mach package

View file

@ -6,9 +6,3 @@ all :
make -C fedora
make -C ubuntu
make -C mint
clean :
sudo docker image prune --force

View file

@ -10,6 +10,16 @@ run apt-get -y install wget python3 python3-pip python3-dev mercurial
# Fetch 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

View file

@ -0,0 +1,2 @@
all :
sudo docker build -t mozilla/release-debian .

View file

@ -12,6 +12,16 @@ 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

View file

@ -0,0 +1,2 @@
all :
sudo docker build -t mozilla/release-fedora .

View file

@ -10,7 +10,16 @@ run apt-get -y install wget python3 python3-pip python3-dev mercurial
# Fetch 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

View file

@ -0,0 +1,2 @@
all :
sudo docker build -t mozilla/release-mint .

View file

@ -10,6 +10,16 @@ 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

View file

@ -0,0 +1,2 @@
all :
sudo docker build -t mozilla/release-ubuntu .