docs: change instructions for cloning the V repository to use --depth=1 (#22905)

This commit is contained in:
Delyan Angelov 2024-11-18 23:24:02 +02:00 committed by GitHub
parent a9ae3765e7
commit 4e62b53ab6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 11 deletions

View file

@ -14,7 +14,7 @@ RUN apt update && \
COPY . /vlang-local
RUN if [ -z "${USE_LOCAL}" ] ; then \
git clone https://github.com/vlang/v/ /opt/vlang && \
git clone --depth=1 https://github.com/vlang/v /opt/vlang && \
rm -rf /vlang-local ; \
else \
mv /vlang-local/* . && \