git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2939112
)
Doc: Add docker build instructions without git clone
author
Elan Ruusamäe
<redacted>
Fri, 1 May 2026 13:12:09 +0000
(16:12 +0300)
committer
Elan Ruusamäe
<redacted>
Sun, 3 May 2026 19:40:39 +0000
(22:40 +0300)
Add instructions for building Docker image directly from GitHub.
readme_template.md
patch
|
blob
|
history
diff --git
a/readme_template.md
b/readme_template.md
index 4c66936f6890935c1ee5135a4408c7c439b3f988..e9f3dfc476466da859c38f4c3712e99e7836ff62 100644
(file)
--- a/
readme_template.md
+++ b/
readme_template.md
@@
-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
git clone https://git.99rst.org/PROJECT