fix windows dockerfile

This commit is contained in:
Malte Jürgens 2023-02-15 19:15:56 +01:00
parent 82859aba56
commit 769135543b
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3

View file

@ -2,10 +2,7 @@ FROM ubuntu:latest
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install bash git wget build-essential zip
RUN dpkg --add-architecture i386 && apt-get -y update && apt-get -y install wine32
WORKDIR /root
RUN git clone https://gitlab.com/librewolf-community/browser/windows.git
WORKDIR /root/windows/linux
RUN tmpdir=$(mktemp -d) && cd $tmpdir && git clone https://gitlab.com/librewolf-community/browser/windows.git && cd windows/linux && make setup-debian && make fetch && make bootstrap && cd /root && rm -rf $tmpdir
RUN make setup-debian
RUN make fetch
RUN make bootstrap
WORKDIR /work
VOLUME ["/work"]