fix(docker): repair bind mount ownership#1281
Merged
Aaronontheweb merged 1 commit intoJun 1, 2026
Merged
Conversation
CumpsD
reviewed
Jun 1, 2026
| && useradd --uid 1654 --gid netclaw --create-home netclaw \ | ||
| && mkdir -p /home/netclaw/.netclaw \ | ||
| && chown netclaw:netclaw /home/netclaw/.netclaw | ||
| && mkdir -p /home/netclaw/.netclaw /tools \ |
Contributor
There was a problem hiding this comment.
@Aaronontheweb it seems /tools snuck in this PR
3 tasks
Aaronontheweb
added a commit
that referenced
this pull request
Jun 4, 2026
…l dirs for non-root agent (0.23.0-beta.2) (#1321) * fix(docker): don't crash on read-only /tools; give non-root agent writable on-PATH install dirs The bind-mount ownership repair added in 0.23.0-beta.1 (#1281) ran a recursive chown over /tools and aborted fatally on a read-only mount, crash-looping the container. /tools is a PATH directory the agent only reads from, so the entrypoint now treats it as best-effort: never recursive-chowns it, never fatal on a read-only/already-correct mount. #1281 also dropped the daemon to the non-root netclaw user, which left no writable directory on its PATH for runtime tool installs (the agent can't apt-get or write system dirs). The image now ships writable, on-PATH locations (~/.local/bin, ~/.dotnet, ~/.dotnet/tools, /tools/bin) and a default PATH that includes them, so a runtime-installed dotnet / pip --user tool / .NET global tool resolves as a bare command in the agent's non-interactive shell. Bumps to 0.23.0-beta.2. * docs: fill in PR number 1321 in release notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #1277
Validation