bsys5/linux-base/assets/Dockerfile
2022-11-17 11:24:04 +01:00

22 lines
631 B
Docker

FROM ubuntu:jammy
#FROM fedora:36
ARG arch=error
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install make wget git patch gettext-base
#RUN dnf -y update && dnf -y install make wget git patch gettext
RUN git clone https://gitlab.com/librewolf-community/browser/bsys5
WORKDIR bsys5
RUN git checkout flatpak
WORKDIR linux-base
ENV PATH="${PATH}:/root/.cargo/bin"
#RUN make setup-fedora && make fetch && make arch=$arch bootstrap && make veryclean
RUN make setup-debian
RUN make update # this makes it not reproducible
RUN make fetch
RUN sh -c ./assets/setup-rust.sh
RUN make arch=$arch bootstrap
RUN make veryclean