Entrypoint rewriting logic is ignoring cmd
#574
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Expected Behavior
I'm a bit confused about this to tell you the truth, but I think think that when we are wrapping a container, we should be respecting both the
entrypoint
and thecmd
Actual Behavior
When we retrieve an image's entrypoint we do just that - we get the entrypoint only and ignore the
cmd
. So if an image is relying on thecmd
to do the right thing, we wipe it out and completely ignore it.Steps to Reproduce the Problem
cmd
, e.g. in this case thecmd
for thegolang
image isgo
, so we shouldn't need to specify that explicitly,:go
explicitly, it will work:Additional Info
The text was updated successfully, but these errors were encountered: