Docker builds

This commit is contained in:
Bert van der Weerd 2021-09-28 11:36:55 +02:00
parent 2523ec7e57
commit 3ba87634fd
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
18 changed files with 85 additions and 4 deletions

11
docker/librewolf/Makefile Normal file
View file

@ -0,0 +1,11 @@
all :
cp version debian/version && cp version fedora/version && cp version ubuntu/version && cp version mint/version
make -C debian
make -C fedora
make -C ubuntu
make -C mint
clean :
sudo docker image prune --force

1
docker/librewolf/debian/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
version

View file

@ -0,0 +1,13 @@
FROM debian
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
RUN apt-get -y update && apt-get -y upgrade
# Install build dependencies..
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
# Build it..
copy version /

View file

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

1
docker/librewolf/fedora/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
version

View file

@ -0,0 +1,17 @@
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..
copy version /

View file

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

1
docker/librewolf/mint/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
version

View file

@ -0,0 +1,14 @@
FROM linuxmintd/mint20.2-amd64
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
RUN apt-get -y update && apt-get -y upgrade
# Install build dependencies..
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
# Build it..
copy version /

View file

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

1
docker/librewolf/ubuntu/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
version

View file

@ -0,0 +1,13 @@
FROM ubuntu
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
RUN apt-get -y update && apt-get -y upgrade
# 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
# Build it..
copy version /

View file

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

1
docker/librewolf/version Normal file
View file

@ -0,0 +1 @@
92.0.1

View file

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

View file

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

View file

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

View file

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