The image entry point should be configurable, making Pebble optional
Metadata
Current evaluation
Configurable OCI entrypoints are now available through entrypoint-command, bypassing Pebble; the feature shipped in Rockcraft 1.14 after this open request.
Suggested action: close resolved
Reason: Commit 0f919f9a through PR canonical/rockcraft#939 added entrypoint-command, and the Rockcraft 1.14 release notes explicitly state that it bypasses the default Pebble entrypoint. Current packaging code applies this override, with unit and spread tests covering resulting OCI entrypoint and CMD behavior.
Evaluated by: mr-cal-bot
Impact:
55
Quick Win:
30
Complexity:
35
Confidence:
98
Actionability:
85
Issue body
### Bug Description
Rockcraft always sets Pebble as the image entry point. This often prevents rock images from being used as drop-in replacements for the upstream images.
One example is rawfile-localpv, where a pod is [launched on the fly to perform resizes](https://github.com/canonical/k8s-snap/issues/1278#issuecomment-2791412856). The template defines container arguments that aren't handled properly by rock images, which expect these arguments to contain `--args $serivceName`.
Workarounds that have been used so far (not always applicable):
* fork the projects to accommodate Pebble
* doesn't scale very well
* explicitly set the container entry point to bypass Pebble
* the helm charts don't always provide this option
* use a Dockerfile wrapper with a rock image as base so that we can explicitly set an entry point
* ugly, defeats the purpose of Rockcraft
Pebble isn't actually needed when there's just one process per container (most OCI images), it's a redundant component that interferes with the way in which Kubernetes launches and manages processes.
That being considered, Rockcraft should make the image entry point configurable, greatly simplifying rock image maintenance.
### To Reproduce
N/A
### Environment
N/A
### rockcraft.yaml
```yaml
N/A
```
### Relevant log output
```shell
N/A
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
55
Quick Win:
30
Complexity:
35
Confidence:
98
Actionability:
85
|
close resolved | Configurable OCI entrypoints are now available through entrypoint-command, bypassing Pebble; the feature shipped in Rockcraft 1.14 after this open request. | |
| qwen/qwen3.6-35b-a3b |
Impact:
70
Quick Win:
39
Complexity:
30
Confidence:
95
Actionability:
80
|
close resolved | Request to make Rockcraft image entry point configurable and Pebble optional. Resolved by entrypoint-command feature (PR #939). | |
| qwen/qwen3.8-27b |
Impact:
75
Quick Win:
26
Staleness:
50
Complexity:
65
Confidence:
88
Support Request:
20
|
close stale | Request to make Pebble optional by allowing a configurable OCI entrypoint in Rockcraft. The feature was implemented in Rockcraft 1.14.0 via the entrypoint-command key (PR #939), but the issue remains open and unlabelled. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
70
Confidence:
85
Support Request:
20
|
keep open | Request to make Pebble optional by allowing configurable image entry points in Rockcraft. Maintainers discussed trade-offs and acknowledged the request, but it remains unlabelled and unassigned after over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
88
Complexity:
72
Confidence:
78
Support Request:
10
|
needs triage | Feature request to make Pebble optional by allowing configurable image entry points. Discussion occurred but lacks labels, assignee, or formal prioritization after 14 months of inactivity. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
75
Confidence:
70
Support Request:
10
|
needs triage | Request to make Rockcraft image entry point configurable to allow optional Pebble usage. Discussed with maintainers but remains open without labels, assignee, or concrete implementation plan after over a year of inactivity. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#939
(confidence 99%)
Implemented entrypoint-command in commit 0f919f9a and released it in Rockcraft 1.14.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #939 feat: add entrypoint-command | rockcraft | merged | Merged PR rockcraft#939 (commit 0f919f9a) adding the `entrypoint-command` project key to rockcraft.yaml, letting rocks override the default `pebble enter` OCI entrypoint; shipped in Rockcraft 1.14. |