Skip to content

Commit

Permalink
Add build your own image
Browse files Browse the repository at this point in the history
  • Loading branch information
navilg committed Apr 2, 2022
1 parent fc2228c commit 8eb70eb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,17 @@ docker start server.example.com # To start after its stopped
docker rm server.example.com -f # To remove
```

## Build your own image

To build your own image

* Clone this repo

* Run docker build

```
# Replace OS and ARCH values with valid values of GOlang environment variables GOOS and GOARCH.
docker build --build-arg OS=linux --build-arg ARCH=amd64 --build-arg VERSION=1.0.0 -t linuxshots/namecheap-ddns:1.0.0 .
```

NOTE: This sets the TTL to Automatic i.e. 30 minutes. Currently, There is no way provided by Namecheap to set custom TTL in Dynamic DDNS.

0 comments on commit 8eb70eb

Please sign in to comment.