0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 21:53:31 -05:00
LibreWolf/assets/Dockerfile

19 lines
853 B
Text
Raw Permalink Normal View History

2022-12-14 06:10:43 -05:00
FROM ubuntu:jammy
#FROM fedora:36
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
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
# 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
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