Commit f2928a5
authored
fix: podman create requires dummy command for static plugin images (#2551)
fix: provide dummy command to podman create for static plugin images
Plugin OCI images are static file bundles with no CMD or ENTRYPOINT.
Running 'podman create' without a command argument fails with:
Error: no command or entrypoint provided, and no CMD or ENTRYPOINT from image
Fix: Pass /bin/true as a dummy command. The container is never run,
just created so we can extract files with podman cp.
Fixes instrumentation job failure on PR #2550.
Ref: https://github.com/redhat-developer/rhdh-plugin-export-overlays/actions/runs/269026635011 parent 95216fb commit f2928a5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
0 commit comments