mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
docs: change instructions for cloning the V repository to use --depth=1
(#22905)
This commit is contained in:
parent
a9ae3765e7
commit
4e62b53ab6
6 changed files with 11 additions and 11 deletions
|
@ -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/* . && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue