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 #76 - had to use --entrypoint bash to run individual scripts.
The Dockerfile uses
ENTRYPOINT./build-uboot.sh && ./build-kernel-mainline.sh && ...(shell form). That meansCMDis silently ignored -docker run fobl bashruns 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 #76 - had to use
--entrypoint bashto run individual scripts.