2022-12-14 06:10:43 -05:00
|
|
|
FROM ubuntu:jammy
|
|
|
|
#FROM fedora:36
|
|
|
|
|
2022-12-16 06:30:32 -05:00
|
|
|
RUN ( apt-get update && apt-get -y upgrade && apt-get -y install make wget git patch unzip ; true )
|
|
|
|
RUN ( dnf -y update && dnf -y install make wget git patch unzip ; true )
|
2022-12-14 06:10:43 -05:00
|
|
|
# dependencies needed to run ./mach bootstrap
|
2022-12-16 06:30:32 -05:00
|
|
|
RUN ( apt-get -y update && apt-get -y upgrade && apt-get -y install python3 python3-dev python3-pip wget dpkg-sig ; true )
|
|
|
|
RUN ( dnf -y upgrade && dnf -y install python3 python3-devel wget rpm-build rpm-sign ; true )
|
2022-12-14 06:10:43 -05:00
|
|
|
|
2022-12-16 06:30:32 -05:00
|
|
|
# grab the latest source cleanly
|
2022-12-14 06:10:43 -05:00
|
|
|
WORKDIR /
|
|
|
|
RUN rm -rf /source
|
2022-12-14 09:31:43 -05:00
|
|
|
RUN git clone --recursive https://gitlab.com/librewolf-community/browser/source.git
|
2022-12-14 06:10:43 -05:00
|
|
|
WORKDIR /source
|
|
|
|
|
2022-12-16 06:30:32 -05:00
|
|
|
RUN make check && make setup-debian && make fetch && make bootstrap && make build package && make veryclean
|
|
|
|
#RUN make check && make setup-fedora && make fetch && make bootstrap && make build package && make veryclean
|
|
|
|
|