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 2024-11-07 23:48:57 +01:00 committed by GitHub
parent 633960f3a5
commit 6629458807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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" .
```