Skip to content

Comments

modify api to allow expressing if previous entrypoints should be overridden#103

Merged
bcmyers merged 1 commit intomainfrom
bcmyers/entrypoint
Sep 23, 2025
Merged

modify api to allow expressing if previous entrypoints should be overridden#103
bcmyers merged 1 commit intomainfrom
bcmyers/entrypoint

Conversation

@bcmyers
Copy link
Contributor

@bcmyers bcmyers commented Sep 23, 2025

On oci_image, if a user does not provide an entrypoint, i.e. (entrypoint == None), that should mean do nothing with the entrypoint for this layer, potentially inheriting the entrypoint from previous layers. Without this change, setting entrypoint == None would always overwrite the entrypoint from previous layers to be [], which may not be the behavior the user wants.

@bcmyers bcmyers force-pushed the bcmyers/entrypoint branch 4 times, most recently from 47d78bf to 1cf35c0 Compare September 23, 2025 21:24
@bcmyers bcmyers merged commit 0c14644 into main Sep 23, 2025
2 checks passed
@bcmyers bcmyers deleted the bcmyers/entrypoint branch September 23, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants