![Chuck Lantz](/assets/img/avatar_default.png)
* Add .NET 7, drop .NET 5 * Add libssl3 to common-utils for jammy * Handle lts/latest hard coding * Fix, improve tests * Bump version * Fix situation where version could come from either MS repo or OS * Remove unused option * Bump common version * Remove unused function * Restore DOTNET_ROOT per feedback
18 lines
545 B
Bash
18 lines
545 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Optional: Import test library
|
|
source dev-container-features-test-lib
|
|
|
|
check "dotnet sdks" dotnet --list-sdks
|
|
check "some major version of dotnet 6 is installed" bash -c "dotnet --list-sdks | grep '6\.[0-9]*\.[0-9]*'"
|
|
check "dotnet version 6 installed" bash -c "ls -l /usr/share/dotnet/sdk | grep '6\.[0-9]*\.[0-9]*'"
|
|
|
|
# Verify current symlink exists and works
|
|
check "current link dotnet" /usr/local/dotnet/current/dotnet --info
|
|
check "current link sdk" ls -l /usr/local/dotnet/current/sdk
|
|
|
|
# Report result
|
|
reportResults
|