diff options
author | Cyn <70904206+itscynxx@users.noreply.github.com> | 2023-09-14 14:11:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 21:11:59 +0200 |
commit | a27368df36fc47e67cfe0876ae4d75de066efded (patch) | |
tree | f72e949856c6d8932929e619a479be363676c368 /Dockerfile | |
parent | 07e76e3a8e2738dbb7a1d5a6aeaa908a838f5a02 (diff) | |
download | NorthstarLauncher-a27368df36fc47e67cfe0876ae4d75de066efded.tar.gz NorthstarLauncher-a27368df36fc47e67cfe0876ae4d75de066efded.zip |
Linux build instructions in `BUILD.md` (#531)
Adds Linux build instructions and corresponding Docker file.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 26 |
1 files changed, 26 insertions, 0 deletions
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/ |