Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to have a shell version of the script #121

Open
mrhovunping opened this issue Mar 21, 2022 · 4 comments
Open

Request to have a shell version of the script #121

mrhovunping opened this issue Mar 21, 2022 · 4 comments

Comments

@mrhovunping
Copy link

Hi team,

The script is quite useful, we used it a lot on linux container (ubuntu based). We have switched to Alpine version container and script does not work on this version because "bash" is not the default shell. While there is a work around to install bash on alpine, it would be nice to have a sh version of the script.

@lwblackledge
Copy link

lwblackledge commented Jun 9, 2022

I found a shell version here: https://gist.github.com/yahyaergun/597d787c6aeffd495e9eaa8b3fdd8e96
A similar issue also linked this go-powered binary version: https://github.com/roerohan/wait-for-it

@roerohan
Copy link

A similar issue also linked this go-powered binary version: https://github.com/roerohan/wait-for-it

Yep, I had the same issue. I was using the scratch container, which doesn't have bash in it (which is why I re-wrote it in go, to package it into a binary executable). It's not been updated for a while, but ideally, it should run on alpine.

@atkrad
Copy link

atkrad commented Oct 14, 2022

Hey @mrhovunping ,

You can install the Wait4X from the official Alpine repositories:
apk add wait4x

@alexislefebvre
Copy link

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

No branches or pull requests

5 participants