summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-06-10 16:40:49 -0400
committerGitHub <[email protected]>2022-06-10 16:40:49 -0400
commitbce8d0a53c56816e6b5acd4e0c9b53514981910a (patch)
tree5ad1fe21671ffd32278872da684909eec4c6c1f8 /README.md
parent42b499246c0a7899a0aa1ebc4be3ac4d18dbebd6 (diff)
parentde5633036a09d1cf42fbd9f2df4a43dcf0585106 (diff)
Merge pull request #22 from richb-hanover/main
Update Dockerfile and .gitignore
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 798cea4..32aa2c1 100644
--- a/README.md
+++ b/README.md
@@ -86,6 +86,23 @@ You can also test against the Apple infrastructure using:
$ ./networkQuality --config mensura.cdn-apple.com --port 443 --path /api/v1/gm/config
```
+## Dockerfile
+
+This repo contains a Dockerfile for running the binary so you
+don't have to install any languages or build tools.
+To use it:
+
+```
+# build the container
+docker build -t goresp .
+
+# run the RPM test
+docker run --rm goresp
+
+# run the RPM test with full options, testing against Apple infrastructure
+docker run --rm goresp --config mensura.cdn-apple.com --port 443 --path /api/v1/gm/config --debug
+```
+
## Contributing
We *love* contributions. Before submitting a patch, format your code with `go fmt`.