Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d807c2

Browse files
devcontainers-botgithub-actions
andauthored
[Updates] Automated vendor dotnet-install script (#868)
* Automated dotnet-install script update * Bump version --------- Co-authored-by: github-actions <[email protected]>
1 parent f91ff3c commit 7d807c2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/dotnet/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "dotnet",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"name": "Dotnet CLI",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
66
"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.",

src/dotnet/scripts/vendor/dotnet-install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,11 @@ get_machine_architecture() {
303303
return 0
304304
;;
305305
aarch64|arm64)
306+
if [ "$(getconf LONG_BIT)" -lt 64 ]; then
307+
# This is 32-bit OS running on 64-bit CPU (for example Raspberry Pi OS)
308+
echo "arm"
309+
return 0
310+
fi
306311
echo "arm64"
307312
return 0
308313
;;

0 commit comments

Comments
 (0)