mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Doc: Add docker build instructions without git clone
Add instructions for building Docker image directly from GitHub.
This commit is contained in:
@@ -131,6 +131,12 @@ Build the Docker container from the root of this repo like this:
|
||||
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:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user