{"id":22426652,"url":"https://github.com/theypsilon/docker-waitfortrue","last_synced_at":"2025-06-12T02:34:31.889Z","repository":{"id":152994260,"uuid":"59459689","full_name":"theypsilon/docker-waitfortrue","owner":"theypsilon","description":null,"archived":false,"fork":false,"pushed_at":"2016-05-23T07:05:11.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T06:24:58.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theypsilon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-23T07:03:01.000Z","updated_at":"2016-05-23T07:03:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"72216611-1875-4838-82da-55b1475b713b","html_url":"https://github.com/theypsilon/docker-waitfortrue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theypsilon/docker-waitfortrue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theypsilon%2Fdocker-waitfortrue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theypsilon%2Fdocker-waitfortrue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theypsilon%2Fdocker-waitfortrue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theypsilon%2Fdocker-waitfortrue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theypsilon","download_url":"https://codeload.github.com/theypsilon/docker-waitfortrue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theypsilon%2Fdocker-waitfortrue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259383600,"owners_count":22849080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T19:22:53.675Z","updated_at":"2025-06-12T02:34:31.844Z","avatar_url":"https://github.com/theypsilon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wait For True\n\n### Example\n```\n$ docker run --rm theypsilon/waitfortrue:1.0.0 curl --head www.google.com\n\nWAITING FOR [curl --head www.google.com] during 100 seconds\nOK\n```\n\n##### Debug mode\n```\n$ docker run --rm -e DEBUG=true theypsilon/waitfortrue:1.0.0 curl --head www.google.com\n\nWAITING FOR [curl --head www.google.com] during 100 seconds\nDEBUG ON\nHTTP/1.1 200 OK\nDate: Mon, 23 May 2016 06:58:14 GMT\nExpires: -1\nCache-Control: private, max-age=0\nContent-Type: text/html; charset=ISO-8859-1\nP3P: CP=\"This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.\"\nServer: gws\nX-XSS-Protection: 1; mode=block\nX-Frame-Options: SAMEORIGIN\nSet-Cookie: NID=79=DNXrr_uEHM4AuHsKs04608AjkNaA71LK_wkYMhd8hjXCdJBBpaDI3GiwpXHsIdEBIaNbhtFDR4PABL-8MQX3OOrOuPfVCWpu6Pk5X63Avrn3ZvL1ZsfKF0E52xCsJ5-9wfCtxv-gdfnFYdE; expires=Tue, 22-Nov-2016 06:58:14 GMT; path=/; domain=.google.com; HttpOnly\nTransfer-Encoding: chunked\nAccept-Ranges: none\nVary: Accept-Encoding\n\nOK\n```\n\n##### Modifying timeout (default value is 100 seconds)\n```\n$ docker run --rm -e TIMEOUT_SECONDS=5 theypsilon/waitfortrue:1.0.0 curl --head wrong.google.com\n\nWAITING FOR [curl --head wrong.google.com] during 5 seconds\n..!!\nFAILED: timeout triggered after 5 seconds\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: wrong.google.com\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheypsilon%2Fdocker-waitfortrue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheypsilon%2Fdocker-waitfortrue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheypsilon%2Fdocker-waitfortrue/lists"}