Skip to content

fix: pre-create XDG dirs so named volumes are initialised with skpr ownership#12

Merged
kimpepper merged 1 commit into
mainfrom
fix/volume-permission
Jun 12, 2026
Merged

fix: pre-create XDG dirs so named volumes are initialised with skpr ownership#12
kimpepper merged 1 commit into
mainfrom
fix/volume-permission

Conversation

@kimpepper

Copy link
Copy Markdown
Contributor

Without pre-creating /home/skpr/.local/share/opencode and /home/skpr/.local/state/opencode in the image, Docker initialises named volumes as root-owned, causing an EACCES error when opencode tries to create its log directory at runtime.

@kimpepper kimpepper merged commit 119aad0 into main Jun 12, 2026
1 check passed
@kimpepper kimpepper deleted the fix/volume-permission branch June 12, 2026 06:27
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.

1 participant