Makefile & readme with usage command
This commit is contained in:
6
Makefile
Normal file
6
Makefile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
build:
|
||||||
|
sudo docker build -t ghcr.io/kevinmidboe/cloudflare-speedtest --no-cache .
|
||||||
|
|
||||||
|
publish:
|
||||||
|
sudo docker push ghcr.io/kevinmidboe/cloudflare-speedtest
|
||||||
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Cloudflare speedtest from docker
|
||||||
|
|
||||||
|
Docker run a speedtest from https://speed.cloudflare.com using npm package [speed-cloudflare-cli](https://github.com/KNawm/speed-cloudflare-cli).
|
||||||
|
|
||||||
|
Mainly used to prevent having node installed on host.
|
||||||
|
|
||||||
|
# Run
|
||||||
|
|
||||||
|
To just run the speedtest and discard after usage run:
|
||||||
|
```bash
|
||||||
|
(sudo) docker run --rm ghcr.io/kevinmidboe/cloudflare-speedtest
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user