Skip to content

Comments

Add support for CMD in addition to ENTRYPOINT#102

Merged
BryceBeagle merged 1 commit intomainfrom
bryce.beagle/add-support-for-cmd
Sep 25, 2025
Merged

Add support for CMD in addition to ENTRYPOINT#102
BryceBeagle merged 1 commit intomainfrom
bryce.beagle/add-support-for-cmd

Conversation

@BryceBeagle
Copy link
Contributor

OCI supports both. We should support both.

This is especially useful for removing CMD if it is set in base
images.

Previously there was no way to do this and it would always be appended
to whatever ENTRYPOINT the image had (per OCI spec)

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@BryceBeagle BryceBeagle force-pushed the bryce.beagle/add-support-for-cmd branch from fa77103 to 6e430ff Compare September 24, 2025 00:06
OCI supports both. We should support both.

This is especially useful for _removing_ `CMD` if it is set in base
images.

Previously there was no way to do this and it would always be appended
to whatever `ENTRYPOINT` the image had (per OCI spec)
@BryceBeagle BryceBeagle force-pushed the bryce.beagle/add-support-for-cmd branch from 6e430ff to a61c616 Compare September 24, 2025 03:44
@BryceBeagle BryceBeagle marked this pull request as ready for review September 24, 2025 23:07
@BryceBeagle BryceBeagle merged commit 133b576 into main Sep 25, 2025
3 checks passed
@BryceBeagle BryceBeagle deleted the bryce.beagle/add-support-for-cmd branch September 25, 2025 18:24
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