Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Have waitforcluster.sh work as a strict entrypoint #37

Open
pjenvey opened this issue Mar 20, 2017 · 0 comments
Open

Have waitforcluster.sh work as a strict entrypoint #37

pjenvey opened this issue Mar 20, 2017 · 0 comments

Comments

@pjenvey
Copy link
Member

pjenvey commented Mar 20, 2017

waitforcluster.sh could work more like a typical docker entrypoint script: making it responsible for executing the container cmd which would be passed as its last argument.

The main benefit vs what's done now (integrating the container cmd into the entrypoint along w/ waitforcluster and '&&') is it could support using the default container cmd.

E.g.:

http://stackoverflow.com/questions/37194733/how-can-i-make-my-docker-compose-wait-for-it-script-invoke-the-original-contai

Not terribly important right now -- it just means we require steps always specify the command being ran

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant