Doc: Add docker build instructions without git clone

Add instructions for building Docker image directly from GitHub.
This commit is contained in:
Elan Ruusamäe
2026-05-01 16:12:09 +03:00
parent 2939112453
commit e4bdb531b6

View File

@@ -131,6 +131,12 @@ Build the Docker container from the root of this repo like this:
docker build --no-cache . -t stevenblack-hosts docker build --no-cache . -t stevenblack-hosts
``` ```
Or without cloning (directly from GitHub):
```sh
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
```
Then run your command as such: Then run your command as such:
```sh ```sh