Docker builds
This commit is contained in:
parent
ab5a09aab4
commit
543d8c34d5
25 changed files with 67 additions and 26 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
all :
|
all :
|
||||||
|
|
||||||
make -C nightly
|
make -C nightly
|
||||||
make -C librewolf
|
make -C release
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
|
|
||||||
sudo docker image prune --force
|
sudo docker image prune --force
|
||||||
|
|
||||||
|
prune :
|
||||||
|
docker system prune --all --force
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
all :
|
|
||||||
sudo docker build -t librewolf/release-debian .
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
all :
|
|
||||||
sudo docker build -t librewolf/release-fedora .
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
all :
|
|
||||||
sudo docker build -t librewolf/release-mint .
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
all :
|
|
||||||
sudo docker build -t librewolf/release-ubuntu .
|
|
||||||
|
|
@ -1,12 +1,5 @@
|
||||||
all :
|
all :
|
||||||
|
|
||||||
make -C debian
|
make -C debian
|
||||||
make -C fedora
|
make -C fedora
|
||||||
make -C ubuntu
|
make -C ubuntu
|
||||||
make -C mint
|
make -C mint
|
||||||
|
|
||||||
clean :
|
|
||||||
|
|
||||||
sudo docker image prune --force
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
run python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
|
run rm bootstrap.py
|
||||||
|
workdir mozilla-unified
|
||||||
|
run ./mach build
|
||||||
|
run ./mach package
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
run echo python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
|
run rm bootstrap.py
|
||||||
|
workdir mozilla-unified
|
||||||
|
run ./mach build
|
||||||
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
all :
|
all :
|
||||||
sudo docker build -t mozilla/nightly-fedora .
|
sudo docker build --no-cache --rm -t mozilla/nightly-fedora .
|
||||||
|
|
|
||||||
|
|
@ -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
|
run python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
|
run rm bootstrap.py
|
||||||
|
workdir mozilla-unified
|
||||||
|
run ./mach build
|
||||||
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -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
|
run python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
|
run rm bootstrap.py
|
||||||
|
workdir mozilla-unified
|
||||||
|
run ./mach build
|
||||||
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,3 @@ all :
|
||||||
make -C fedora
|
make -C fedora
|
||||||
make -C ubuntu
|
make -C ubuntu
|
||||||
make -C mint
|
make -C mint
|
||||||
|
|
||||||
clean :
|
|
||||||
|
|
||||||
sudo docker image prune --force
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -10,6 +10,16 @@ run apt-get -y install wget python3 python3-pip python3-dev mercurial
|
||||||
# Fetch mozilla nightly..
|
# Fetch mozilla nightly..
|
||||||
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
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 python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
run rm -rf mozilla-unified bootstrap.py
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
copy version /
|
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
|
||||||
2
docker/release/debian/Makefile
Normal file
2
docker/release/debian/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/release-debian .
|
||||||
|
|
@ -12,6 +12,16 @@ run dnf -y install wget python3 python3-pip python3-devel mercurial
|
||||||
# Fetch mozilla nightly..
|
# Fetch mozilla nightly..
|
||||||
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
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 echo python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
run rm -rf mozilla-unified bootstrap.py
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
copy version /
|
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
|
||||||
2
docker/release/fedora/Makefile
Normal file
2
docker/release/fedora/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/release-fedora .
|
||||||
|
|
@ -10,7 +10,16 @@ run apt-get -y install wget python3 python3-pip python3-dev mercurial
|
||||||
# Fetch mozilla nightly..
|
# Fetch mozilla nightly..
|
||||||
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
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 python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
run rm -rf mozilla-unified bootstrap.py
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
copy version /
|
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
|
||||||
2
docker/release/mint/Makefile
Normal file
2
docker/release/mint/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/release-mint .
|
||||||
|
|
@ -10,6 +10,16 @@ run apt-get -y install wget python3 python3-pip python3-dev mercurial
|
||||||
# Build mozilla nightly..
|
# Build mozilla nightly..
|
||||||
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
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 python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
run rm -rf mozilla-unified bootstrap.py
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
copy version /
|
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
|
||||||
2
docker/release/ubuntu/Makefile
Normal file
2
docker/release/ubuntu/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/release-ubuntu .
|
||||||
Loading…
Add table
Reference in a new issue