api: add --depth=1 to googleapis and protobuf clones (#420)

This commit is contained in:
Sajad Abdollahi
2024-05-07 14:51:14 +03:30
committed by GitHub
parent 40cfa3ddf2
commit 26832f3a5f
3 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@ FROM python:3.11.0
ENV PROJECT_PATH=/chirpstack/api
RUN git clone https://github.com/protocolbuffers/protobuf.git /protobuf
RUN git clone https://github.com/googleapis/googleapis.git /googleapis
RUN git clone --depth=1 https://github.com/protocolbuffers/protobuf.git /protobuf
RUN git clone --depth=1 https://github.com/googleapis/googleapis.git /googleapis
RUN mkdir -p PROJECT_PATH
WORKDIR $PROJECT_PATH