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.
This commit is contained in:
Thomas McWork authored and GitHub committed 2024-11-07 23:48:57 +01:00
1 parent 633960f3a5
commit 6629458807
1 file changed
+1 -1
+1 -1
View File
@@ -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" .
```