├── Dockerfile └── README.md /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:latest 2 | ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh /wait-for-it.sh 3 | RUN chmod +x /wait-for-it.sh 4 | ENTRYPOINT ["/wait-for-it.sh"] 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wait-for-it Docker 2 | Use [wait-for-it.sh](https://github.com/vishnubob/wait-for-it) in Docker. 3 | 4 | ## Example usage 5 | ```sh 6 | docker run willwill/wait-for-it www.google.com:80 -- echo "google is up" 7 | ``` 8 | --------------------------------------------------------------------------------