Created
March 6, 2021 09:24
-
-
Save Tobiaqs/34420144ade5f20609bb628779b3430f to your computer and use it in GitHub Desktop.
Script that builds a working NKit on Linux-based systems using Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# use @Ryan-Myers .NET Core 3.1 version of the project | |
git clone https://github.com/Ryan-Myers/NKit.git | |
# patch for fixing the recovery data finding issue | |
wget -O - https://gist.githubusercontent.com/Tobiaqs/b7c25136a713fe68de47f4ad76376c89/raw/fd33482226818fd99b84a0f2302895a898c2aab4/0001-Fix-recovery-data-finding-for-Ryan-Myers-NKit.patch 2>/dev/null | git -C NKit apply | |
# patch to remove windows apps from the solution | |
wget -O - https://gist.githubusercontent.com/Tobiaqs/d25daf70ac7455dc7c3cf01071002c03/raw/8d983568f5137ab39d4cab759f8ea519e8bcd33c/0002-Remove-Windows-apps-from-the-solution.patch 2>/dev/null | git -C NKit apply | |
# build using dotnet sdk 3.1 docker image | |
docker run --rm -v $PWD/NKit:/NKit -it mcr.microsoft.com/dotnet/sdk:3.1 bash -c 'cd /NKit; dotnet build' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment