Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Add option to split the final command inside the CM docker file #18

Open
arjunsuresh opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@arjunsuresh
Copy link

Currently we add the cm run cmd as the final command inside the dockerfile. This means the corresponding CM script and its dependent CM scripts are all executed without docker cache. It is fine if there are no errors but if there is any error, the entire sequence of commands are re-executed. Since we already have an option to generate dependent CM commands for a CM script, it'll be good to add them to the dockerfile when user provides a command line option --docker_split_cm_run_cmd=yes and this way we can make use of docker cache.

This option is useful only when docker_cache=yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant