rabbah commented on issue #2112: Allow docker actions with zip files. 
URL: 
https://github.com/apache/incubator-openwhisk/pull/2112#issuecomment-308436764
 
 
   Yes that is the intent. `wsk action create foo --kind nodjes:6 my.zip` and 
`wsk action create bar --docker imagename my.zip` become the same API call.
   
   I don't think I want to introduce another option but if we did would we call 
it `--image`?
   ```
   wsk action create foo bar --docker # as today
   wsk action create foo --docker bar # as today and new pr
   wsk action create foo --image bar my.zip # new feature
   ```
   
   For current zip files we require that you must specify a zip file but there 
is still some divergence:
   ```
   wsk action create foo --kind docker bar my.zip
   
   vs.
   wsk action create foo --kind nodjes:6 my.zip
   ```
   
   Maybe I can preserve the existing behavior where `--docker` accepts an 
optional argument and in the absence of one, the artifact name is used as 
today. This seems like unnecessary complexity though. What do you suggest?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to