docker builds
This commit is contained in:
parent
543d8c34d5
commit
e720a811ef
19 changed files with 87 additions and 117 deletions
10
Makefile
10
Makefile
|
|
@ -33,7 +33,9 @@ git_init :
|
||||||
reset :
|
reset :
|
||||||
$(BUILD) reset
|
$(BUILD) reset
|
||||||
|
|
||||||
|
# Building docker files..
|
||||||
|
.phony : docker-all docker-clean
|
||||||
|
docker-all :
|
||||||
|
make -C docker all
|
||||||
|
docker-clean :
|
||||||
|
make -C docker clean
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,8 @@
|
||||||
all :
|
all :
|
||||||
|
|
||||||
|
make -C buildenv
|
||||||
make -C nightly
|
make -C nightly
|
||||||
make -C release
|
make -C release
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
|
sudo docker system prune --all --force
|
||||||
sudo docker image prune --force
|
|
||||||
|
|
||||||
prune :
|
|
||||||
docker system prune --all --force
|
|
||||||
|
|
|
||||||
5
docker/buildenv/Makefile
Normal file
5
docker/buildenv/Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
all :
|
||||||
|
make -C debian
|
||||||
|
make -C fedora
|
||||||
|
make -C ubuntu
|
||||||
|
make -C mint
|
||||||
13
docker/buildenv/debian/Dockerfile
Normal file
13
docker/buildenv/debian/Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM debian
|
||||||
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
ENV TZ=Europe/Amsterdam
|
||||||
|
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
|
||||||
|
run rm bootstrap.py
|
||||||
2
docker/buildenv/debian/Makefile
Normal file
2
docker/buildenv/debian/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/buildenv-debian .
|
||||||
15
docker/buildenv/fedora/Dockerfile
Normal file
15
docker/buildenv/fedora/Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
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 python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
run rm bootstrap.py
|
||||||
2
docker/buildenv/fedora/Makefile
Normal file
2
docker/buildenv/fedora/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build --no-cache --rm -t mozilla/buildenv-fedora .
|
||||||
13
docker/buildenv/mint/Dockerfile
Normal file
13
docker/buildenv/mint/Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM linuxmintd/mint20.2-amd64
|
||||||
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
ENV TZ=Europe/Amsterdam
|
||||||
|
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
|
||||||
|
run rm bootstrap.py
|
||||||
2
docker/buildenv/mint/Makefile
Normal file
2
docker/buildenv/mint/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/buildenv-mint .
|
||||||
13
docker/buildenv/ubuntu/Dockerfile
Normal file
13
docker/buildenv/ubuntu/Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM ubuntu
|
||||||
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
ENV TZ=Europe/Amsterdam
|
||||||
|
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
|
||||||
|
run rm bootstrap.py
|
||||||
2
docker/buildenv/ubuntu/Makefile
Normal file
2
docker/buildenv/ubuntu/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/buildenv-ubuntu .
|
||||||
|
|
@ -1,18 +1,6 @@
|
||||||
FROM debian
|
FROM mozilla/buildenv-debian
|
||||||
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
|
|
||||||
|
|
||||||
# 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..
|
# Build it..
|
||||||
run rm bootstrap.py
|
|
||||||
workdir mozilla-unified
|
workdir mozilla-unified
|
||||||
run ./mach build
|
run ./mach build
|
||||||
run ./mach package
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,6 @@
|
||||||
FROM fedora
|
FROM mozilla/buildenv-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..
|
# Build it..
|
||||||
run rm bootstrap.py
|
|
||||||
workdir mozilla-unified
|
workdir mozilla-unified
|
||||||
run ./mach build
|
run ./mach build
|
||||||
run ./mach package
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,6 @@
|
||||||
FROM linuxmintd/mint20.2-amd64
|
FROM mozilla/buildenv-mint
|
||||||
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
|
|
||||||
|
|
||||||
# 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..
|
# Build it..
|
||||||
run rm bootstrap.py
|
|
||||||
workdir mozilla-unified
|
workdir mozilla-unified
|
||||||
run ./mach build
|
run ./mach build
|
||||||
run ./mach package
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,6 @@
|
||||||
FROM ubuntu
|
FROM mozilla/buildenv-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
|
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
run rm bootstrap.py
|
|
||||||
workdir mozilla-unified
|
workdir mozilla-unified
|
||||||
run ./mach build
|
run ./mach build
|
||||||
run ./mach package
|
run ./mach package
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,5 @@
|
||||||
FROM debian
|
FROM mozilla/buildenv-debian
|
||||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
RUN rm -rf mozilla-unified
|
||||||
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
|
|
||||||
|
|
||||||
# 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..
|
# Build it..
|
||||||
copy version /
|
copy version /
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,5 @@
|
||||||
FROM fedora
|
FROM mozilla/buildenv-fedora
|
||||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
RUN rm -rf mozilla-unified
|
||||||
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
|
|
||||||
run rm -rf mozilla-unified bootstrap.py
|
|
||||||
|
|
||||||
# Build it..
|
# Build it..
|
||||||
copy version /
|
copy version /
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,5 @@
|
||||||
FROM linuxmintd/mint20.2-amd64
|
FROM mozilla/buildenv-mint
|
||||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
RUN rm -rf mozilla-unified
|
||||||
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
|
|
||||||
|
|
||||||
# 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..
|
# Build it..
|
||||||
copy version /
|
copy version /
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,5 @@
|
||||||
FROM ubuntu
|
FROM mozilla/buildenv-ubuntu
|
||||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
RUN rm -rf mozilla-unified
|
||||||
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..
|
# Build it..
|
||||||
copy version /
|
copy version /
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue