Add dotnet recipe for Ubuntu 18.04
authorSiraaj Khandkar <siraaj@khandkar.net>
Sat, 26 Sep 2020 16:57:09 +0000 (12:57 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sat, 10 Oct 2020 13:48:32 +0000 (09:48 -0400)
deps/dotnet/Makefile [new file with mode: 0644]
deps/dotnet/install_on_ubuntu.sh [new file with mode: 0755]

diff --git a/deps/dotnet/Makefile b/deps/dotnet/Makefile
new file mode 100644 (file)
index 0000000..25c5f28
--- /dev/null
@@ -0,0 +1 @@
+# TODO: Platform-specific script selector for current platform
diff --git a/deps/dotnet/install_on_ubuntu.sh b/deps/dotnet/install_on_ubuntu.sh
new file mode 100755 (executable)
index 0000000..eeadd9f
--- /dev/null
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+set -e
+
+PKG='packages-microsoft-prod.deb'
+
+mkdir -p data
+wget https://packages.microsoft.com/config/ubuntu/18.04/"$PKG" -O data/"$PKG"
+sudo apt install ./data/"$PKG"
+sudo apt update
+sudo apt install apt-transport-https
+sudo apt update
+sudo apt install dotnet-sdk-3.1
This page took 0.027964 seconds and 4 git commands to generate.