dgrove-oss commented on issue #2152: OpenWhisk Docker Image for Edge component. URL: https://github.com/apache/incubator-openwhisk/issues/2152#issuecomment-350386194 The only barrier to using a vanilla docker image for nginx now is this stanza in nginx.conf: ``` location /cli/go/download { autoindex on; root /etc/nginx; } ``` I can see four ways to deal with this: 1. Redirect the generic /cli/go/download to the incubator-openwhisk-cli release page. (Ok if this route is intended for interactive human consumption. Not so nice if we're scripting against it). 2. Have stanzas for the CLI for each platform that we support that redirects the download to the right release tar ball (not nice if people are used to exploring the available downloads). 3. Do both 1 and 2. 4. Decide that we really want to do auto-indexing and so commit to always needing to copy in the CLI binaries to /etc/nginx/cli/download/os/arch/cli.zip. If we need to take path 4, I think I can do it with an InitContainer in Kubernetetes so we could use a vanilla nginx image + a custom image to do the download of the CLI to the right place in the running containers file system. @rabbah @csantanapr opinions on what this should look like when we are done?
---------------------------------------------------------------- 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
