From a27368df36fc47e67cfe0876ae4d75de066efded Mon Sep 17 00:00:00 2001 From: Cyn <70904206+itscynxx@users.noreply.github.com> Date: Thu, 14 Sep 2023 14:11:59 -0500 Subject: Linux build instructions in `BUILD.md` (#531) Adds Linux build instructions and corresponding Docker file. --- Dockerfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..261d649f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +FROM registry.fedoraproject.org/fedora-toolbox:38 +RUN dnf update -y && \ + dnf install -y \ + git \ + wine \ + wine-mono \ + python3 \ + msitools \ + python3-simplejson \ + python3-six \ + cmake \ + ninja-build \ + make \ + samba \ + libunwind && \ + dnf clean all && \ + mkdir /opt/msvc/ /build + +RUN git config --global --add safe.directory /build +RUN git clone https://github.com/mstorsjo/msvc-wine && \ + ./msvc-wine/vsdownload.py --accept-license --dest /opt/msvc/ && \ + ./msvc-wine/install.sh /opt/msvc/ && \ + rm -rf ~/.wine ./msvc-wine/ && \ + git config --global --add safe.directory '/build' +ENV PATH="/opt/msvc/bin/x64:${PATH}" +WORKDIR /build/ -- cgit v1.2.3