civo / cli-rubygem

Command line interface for interacting with Civo's cloud API
https://www.civo.com
MIT License
15 stars 4 forks source link

Re-adding Entrypoint #52

Closed ssmiller25 closed 4 years ago

ssmiller25 commented 4 years ago

The current docker configuration and alias instruction in the Readme results in just entering Ruby's irb interface. I re-added the ENTRYPOINT statement to the docker file to launch the civo utility when the container is started. An alternative to this would be to adjust the alias command to call civo within the container, but I think I prefer adjust the ENTRYPOINT as I presume most people don't thoroughly go through documentation, and with ENTRYPOINT set you'll at least get the civo help contents versus being stuck at an irb prompt.

andyjeffries commented 4 years ago

When I had that in my local copy it kept saying it couldn't find civo in my path. Maybe have been playing around with copying the source in though, rather than using gem install at the time.