Compare commits

...

1 Commits

Author SHA1 Message Date
Xavier Del Campo Romero d04d743560 Install missing packages for debian11 2022-08-23 05:25:45 +02:00
1 changed files with 9 additions and 4 deletions

View File

@ -14,12 +14,15 @@ ENV TZ=Europe/Amsterdam
# 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)
RUN ( zypper -n in mercurial python3 python3-pip python3-devel wget rpm-build ; true)
RUN ( apt-get -y update && apt-get -y upgrade && apt-get -y install python3 python3-dev python3-pip wget dpkg-sig curl clang; true)
# RUN ( dnf -y upgrade && dnf -y install python3 python3-devel wget rpm-build rpm-sign; true)
# RUN ( zypper -n in mercurial python3 python3-pip python3-devel wget rpm-build; true)
# Get the Rust tooclhain, required by glean-sdk
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# run the bootstrap
RUN cd /tmp &&\
RUN . "$HOME/.cargo/env" && rustup update && cd /tmp &&\
wget -q -O librewolf-$version-$source_release.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$version-$source_release.source.tar.gz?job=Build &&\
tar xf librewolf-$version-$source_release.source.tar.gz &&\
cd librewolf-$version-$source_release &&\
@ -29,6 +32,8 @@ RUN cd /tmp &&\
cd .. &&\
rm -rf librewolf-$version-$source_release librewolf-$version-$source_release.source.tar.gz
RUN ( apt-get -y update && apt-get -y upgrade && apt-get -y install nodejs nasm; true)
# our work happens here, on the host filesystem.
WORKDIR /work
VOLUME ["/work"]