From 9651c4127c0146efba3144d8a49c987b49cb6c30 Mon Sep 17 00:00:00 2001 From: Pascal Dennerly Date: Sun, 19 Jun 2022 22:11:50 +0100 Subject: [PATCH] Fix download docs --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fa61ed6..f04b21d 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,14 @@ go install github.com/dnnrly/wait-for/cmd/wait-for@latest If you don't have Go installed (in a Docker container, for example) then you can take advantage of the pre-built versions. Check out the [releases](https://github.com/dnnrly/wait-for/releases) and check out the links for direct downloads. You can download and unpack a release like so: ```shell -wget https://github.com/dnnrly/wait-for/releases/download/v0.0.1/wait-for_0.0.1_linux_386.tar.gz -gunzip wait-for_0.0.1_linux_386.tar.gz -tar -xfv wait-for_0.0.1_linux_386.tar +wget https://github.com/dnnrly/wait-for/releases/download/v0.0.5/wait-for_0.0.5_linux_386.tar.gz +gunzip wait-for_0.0.5_linux_386.tar.gz +tar -xfv wait-for_0.0.5_linux_386.tar ``` In your Dockerfile, you can do this: ```docker -ADD https://github.com/dnnrly/wait-for/releases/download/v0.0.1/wait-for_0.0.1_linux_386.tar.gz wait-for.tar.gz +ADD https://github.com/dnnrly/wait-for/releases/download/v0.0.1/wait-for_0.0.5_linux_386.tar.gz wait-for.tar.gz RUN gunzip wait-for.tar.gz && tar -xf wait-for.tar ``` @@ -62,7 +62,8 @@ $ wait-for dns:google.com ``` This will wait for the list of IP addresses bound to that DNS name to be -updated, regardless of order. +updated, regardless of order. You can use this to wait for a DNS update +such as failover or other similar operations. ### Preconfiguring services to connect to