← Back to issue list

Set `WORKDIR /workdir` on Docker level

View original Github issue

Metadata

Project
snapcraft-rocks
Number
#60
Type
issue
State
open
Author
abitrolly
Labels
—
Created
Updated
Closed
—

Current evaluation

Feature request to set Docker WORKDIR to /workdir as a base-image convention for snapcraft rocks. Discussed by maintainers, who are skeptical (GH search shows /app far more common); no agreement or implementation.

Suggested action: keep open

Reason: This is a valid but contested feature/convention request, not a bug, and it has clearly been triaged: tigarmo said 'I don't see much reason to change what we use currently' and lengau backed it with GitHub-search counts showing 'WORKDIR /app' (~680k) vastly outweighs '/workdir' (~6.6k), finding 'much indication that this is a common convention outside of whalebrew.' The author responded with more argument but no maintainer agreement or implementation, and this repo snapshot contains no Dockerfile/WORKDIR source to change. Age is not a reason to close, so it stays open pending a rock-maintainer decision, but low actionability reflects the unresolved direction.

Evaluated by: mr-cal-bot

Impact: 28 Quick Win: 9 Complexity: 22 Confidence: 78 Actionability: 40

Issue body

`/workdir` is a more common default working directory. At least `whalebrew` project uses it as a standard. It would be nice if it `/workdir` is default working directory, and mount point for external files.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 28
Quick Win: 9
Complexity: 22
Confidence: 78
Actionability: 40
keep open Feature request to set Docker WORKDIR to /workdir as a base-image convention for snapcraft rocks. Discussed by maintainers, who are skeptical (GH search shows /app far more common); no agreement or implementation.
qwen/qwen3.6-35b-a3b
Impact: 15
Quick Win: 7
Complexity: 10
Confidence: 70
Actionability: 50
keep open Feature request to change Docker WORKDIR to /workdir as a convention. Maintainers have weighed in and are skeptical, citing /app as more common. Open for ~2 years with no resolution.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12
Staleness: 72
Complexity: 20
Confidence: 75
Support Request: 30
close stale Feature request to change Docker WORKDIR from /project to /workdir for convention consistency. Maintainer expressed skepticism; Dockerfile since removed from this repo and moved to snapcraft-rocks. No activity in ~2 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Request to change default Docker WORKDIR to /workdir for volume mounting consistency. Maintainers noted /app is far more common and see no strong reason to change. Inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 15
Confidence: 60
Support Request: 10
needs triage Request to change default Docker WORKDIR to /workdir for consistent volume mounting and debugging. Open for over two years with maintainer discussion but no labels, assignee, or final decision.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#40 `--workdir` is ignored snapcraft-rocks open Reporter: --workdir ignored by snapcraft-rocks containers; only /project works. Full docker repro given. Doc gap conceded by reporter, but why custom dirs are rejected (entrypoint/pwdb) is still unconfirmed. No maintainer response.
73%