Skip to content

Add .NET support, fix Windows Docker build#16

Merged
bigheart-x merged 1 commit intomainfrom
feat/add-dotnet-lang
Mar 26, 2026
Merged

Add .NET support, fix Windows Docker build#16
bigheart-x merged 1 commit intomainfrom
feat/add-dotnet-lang

Conversation

@bigheart-x
Copy link
Copy Markdown
Contributor

@bigheart-x bigheart-x commented Mar 25, 2026

  • Add support for .NET8
  • Fix windows docker build issue.
  • Add skills helper to list command

Fixes #9 #10

- Fix windows os.Getuid, Getgid returns -1 issue.
- Add skills command to list command
@github-actions
Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/Cloud-Exit/ExitBox/cmd 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/image 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/platform 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/profile 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/run 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/wizard 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/Cloud-Exit/ExitBox/cmd/list.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/image/base.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/platform/platform.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/profile/profile.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/run/run.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/wizard/roles.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@bigheart-x bigheart-x marked this pull request as ready for review March 25, 2026 14:40
// Non-root
args = append(args, "--user", fmt.Sprintf("%d:%d", os.Getuid(), os.Getgid()))
// Non-root (Windows: os.Getuid/Getgid are -1)
runUID, runGID := platform.HostUIDGID()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bigheart-x did you validate if this doesn't break existing linux/mac agents?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thecodeassassin Yes, as you can see platform.HostUIDGID() method, it only returns default values when os.Getuid() and os.Getgid() are negative values(e.g. -1)

@bigheart-x bigheart-x merged commit 3bd926d into main Mar 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for .NET

2 participants