Shell-form ENTRYPOINT is a footgun
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, shell
- Domain
- build-system
Research direction
Open the Dockerfile and inspect the current shell-form ENTRYPOINT that runs the build scripts. Add the proposed /entrypoint.sh wrapper using exec-form ENTRYPOINT, then verify that docker run fobl bash can override the default command while individual build scripts and the full pipeline still run as intended.
Written by the indexing model from the issue text.
Description
The Dockerfile uses ENTRYPOINT ./build-uboot.sh && ./build-kernel-mainline.sh && ... (shell form). That means CMD is silently ignored - docker run fobl bash runs the full pipeline, not a shell. You only discover this when you wonder why overriding the command does nothing. Switching to exec form with a wrapper script (ENTRYPOIN ["/entrypoint.sh"]) would make partial runs and debugging straightforward.
Came up during build verification in https://github.com/flipperdevices/flipperone-linux-build-scripts/pull/76 - had to use --entrypoint bash to run individual scripts.
- Dominant language
- Shell
- Stars
- 76
- Forks
- 35
- Avg merge
- 9h 16m
- Merged PRs (30d)
- 17
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flipperdevices/flipperone-linux-build-scripts
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
flipperdevices/flipperone-linux-build-scripts#149 · 1 comment ·
-
enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 30/100
flipperdevices/flipperone-linux-build-scripts#140 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
flipperdevices/flipperone-linux-build-scripts#139 · 1 comment ·
-
flipperdevices/flipperone-linux-build-scripts#124 · 1 assignee ·
All issues in flipperdevices/flipperone-linux-build-scripts
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·