mirror of
https://codeberg.org/librewolf/source.git
synced 2025-03-11 21:52:17 -05:00
docker improvements
This commit is contained in:
parent
64e57d997d
commit
026bf20096
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -147,7 +147,7 @@ docker-build-image :
|
||||||
docker build --no-cache -t $(build_image) - < assets/Dockerfile
|
docker build --no-cache -t $(build_image) - < assets/Dockerfile
|
||||||
|
|
||||||
docker-run-build-job :
|
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-remove-image :
|
||||||
docker rmi $(build_image)
|
docker rmi $(build_image)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
FROM ubuntu:jammy
|
FROM ubuntu:jammy
|
||||||
#FROM fedora:36
|
#FROM fedora:36
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y upgrade && apt-get -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
|
#RUN dnf -y update && dnf -y install make wget git patch unzip
|
||||||
|
|
||||||
|
|
||||||
# dependencies needed to run ./mach bootstrap
|
# 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 /
|
WORKDIR /
|
||||||
RUN rm -rf /source
|
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
|
WORKDIR /source
|
||||||
|
|
||||||
RUN make check && make setup-debian && make fetch && make bootstrap && make veryclean
|
RUN make check && make setup-debian && make fetch && make bootstrap && make veryclean
|
||||||
|
|
Loading…
Add table
Reference in a new issue