adds missing packages required by dotnet (#3)
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/next Pipeline was successful Details
ci/woodpecker/push/master Pipeline was successful Details

#### 📖 Summary

- adds `libicu70`

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] Tested via Drone.io pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: CodeServer/Container#3
This commit is contained in:
OCram85 2022-11-08 15:54:34 +01:00
parent 83a1c4a965
commit aa817aadf8
1 changed files with 11 additions and 0 deletions

View File

@ -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"
}