From aa817aadf83b3d32b16d51798f2bcd6a92235409 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 8 Nov 2022 15:54:34 +0100 Subject: [PATCH] adds missing packages required by dotnet (#3) #### :book: Summary - adds `libicu70` #### :bookmark_tabs: Test Plan > :bulb: Select your test plan for the code changes. - [x] Tested via Drone.io pipeline - [ ] Custom test - [ ] No test plan ##### Details / Justification #### :books: Additional Notes Co-authored-by: OCram85 Reviewed-on: https://gitea.ocram85.com/CodeServer/Container/pulls/3 --- install-devruntime | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install-devruntime b/install-devruntime index 680d04b..27360a0 100755 --- a/install-devruntime +++ b/install-devruntime @@ -44,6 +44,11 @@ function sayE() { } function instDotNet() { + say "Installing dotnet requirements..." "dotnet" + sudo apt-get update > /dev/null + sudo apt-get install --no-install-recommends -y \ + libicu70 + say "Downloading latest install script..." "dotnet" curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh chmod +x /tmp/dotnet-install.sh @@ -52,6 +57,12 @@ function instDotNet() { /tmp/dotnet-install.sh --channel LTS echo 'export PATH=$PATH:/config/.dotnet' | sudo tee -a /etc/bash.bashrc > /dev/null + say "Cleaning up..." "dotnet" + sudo apt-get clean + sudo rm -rf \ + /tmp/* \ + /var/lib/apt/lists/* \ + /var/tmp/* say "dotnet done. " "dotnet" }