Skip to content

Commit

Permalink
Fix download docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dnnrly committed Jun 19, 2022
1 parent 3157554 commit 9651c41
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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

Expand Down

0 comments on commit 9651c41

Please sign in to comment.