From e4bdb531b678268fd0fb043b78d35638beb5a055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 1 May 2026 16:12:09 +0300 Subject: [PATCH] Doc: Add docker build instructions without git clone Add instructions for building Docker image directly from GitHub. --- readme_template.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme_template.md b/readme_template.md index 4c66936f6..e9f3dfc47 100644 --- 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