From 66294588071d9c050c1efff3c9add1d27b251815 Mon Sep 17 00:00:00 2001 From: Thomas McWork Date: Thu, 7 Nov 2024 23:48:57 +0100 Subject: [PATCH] docker build: limit git history Limit the git history to the latest state which ist enugh for that use case. Saves some resources and time on both sides. --- content/dev/build/docker/_index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/dev/build/docker/_index.en.md b/content/dev/build/docker/_index.en.md index 3062bef..4de3494 100644 --- a/content/dev/build/docker/_index.en.md +++ b/content/dev/build/docker/_index.en.md @@ -9,7 +9,7 @@ weight: 30 Begin by cloning the repository and building the Docker container: ```sh -git clone https://github.com/rustdesk/rustdesk +git clone --depth=1 https://github.com/rustdesk/rustdesk cd rustdesk docker build -t "rustdesk-builder" . ```