0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00

docker improvements

This commit is contained in:
Bert van der Weerd 2022-12-14 15:31:43 +01:00
parent 64e57d997d
commit 026bf20096
No known key found for this signature in database
GPG key ID: 73370A0B9E5516B0
2 changed files with 4 additions and 4 deletions

View file

@ -147,7 +147,7 @@ docker-build-image :
docker build --no-cache -t $(build_image) - < assets/Dockerfile
docker-run-build-job :
docker run --rm $(build_image) sh -c "git pull && make check && make fetch && make all"
docker run --rm $(build_image) sh -c "git pull && make fetch && make build package"
docker-remove-image :
docker rmi $(build_image)

View file

@ -1,8 +1,8 @@
FROM ubuntu:jammy
#FROM fedora:36
RUN apt-get update && apt-get -y upgrade && apt-get -y install make wget git patch
#RUN dnf -y update && dnf -y install make wget git patch
RUN apt-get update && apt-get -y upgrade && apt-get -y install make wget git patch unzip
#RUN dnf -y update && dnf -y install make wget git patch unzip
# dependencies needed to run ./mach bootstrap
@ -13,7 +13,7 @@ RUN ( dnf -y upgrade && dnf -y install python3 python3-devel wget rpm-build rpm-
WORKDIR /
RUN rm -rf /source
RUN git clone https://gitlab.com/librewolf-community/browser/source.git
RUN git clone --recursive https://gitlab.com/librewolf-community/browser/source.git
WORKDIR /source
RUN make check && make setup-debian && make fetch && make bootstrap && make veryclean