Unverified Commit 7d807c2a authored by Dev containers Bot's avatar Dev containers Bot Committed by GitHub

[Updates] Automated vendor dotnet-install script (#868)

* Automated dotnet-install script update

* Bump version

---------
Co-authored-by: 's avatargithub-actions <github-actions@github.com>
parent f91ff3cd
{ {
"id": "dotnet", "id": "dotnet",
"version": "2.0.3", "version": "2.0.4",
"name": "Dotnet CLI", "name": "Dotnet CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
"description": "This Feature installs the latest .NET SDK, which includes the .NET CLI and the shared runtime. Options are provided to choose a different version or additional versions.", "description": "This Feature installs the latest .NET SDK, which includes the .NET CLI and the shared runtime. Options are provided to choose a different version or additional versions.",
......
...@@ -303,6 +303,11 @@ get_machine_architecture() { ...@@ -303,6 +303,11 @@ get_machine_architecture() {
return 0 return 0
;; ;;
aarch64|arm64) aarch64|arm64)
if [ "$(getconf LONG_BIT)" -lt 64 ]; then
# This is 32-bit OS running on 64-bit CPU (for example Raspberry Pi OS)
echo "arm"
return 0
fi
echo "arm64" echo "arm64"
return 0 return 0
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment