From 1308f1744e6c3775386b5a5f10951de84cda2c4a Mon Sep 17 00:00:00 2001 From: George Drak Date: Fri, 13 Oct 2023 10:57:12 +0500 Subject: [PATCH] feat(.net): set .net7 sdk as default --- Dockerfile | 2 ++ global.json | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 global.json diff --git a/Dockerfile b/Dockerfile index 034ea74..aa9202b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,8 @@ RUN apt-get update \ # Cleanup && rm -rf /var/lib/apt/lists/* +COPY global.json /global.json + ENV PATH "$PATH:/root/.dotnet" FROM common as wasm diff --git a/global.json b/global.json new file mode 100644 index 0000000..702095b --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "7.0.0", + "rollForward": "latestFeature" + } + } \ No newline at end of file