X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=db2258d6b9c1f213462bbe089b4664e783d6af41;hb=81cd55de0440dcbc8df4d788565295d051ca91ad;hp=3cbe00a80af1057ebde763d2a3a2ed0a2e1dea3c;hpb=5e02e76308e1677fb106572b885a366eb6c0fbec;p=pti%2Fo2.git diff --git a/Dockerfile b/Dockerfile index 3cbe00a..db2258d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update; apt-get install -y git gcc # in case git repo is not accessable # RUN mkdir -p /cgtsclient # COPY temp/config /cgtsclient/ -RUN git clone https://opendev.org/starlingx/config.git /cgtsclient +RUN git clone --depth 1 --branch master https://opendev.org/starlingx/config.git /cgtsclient RUN pip install -e /cgtsclient/sysinv/cgts-client/cgts-client/ # RUN mkdir -p /distcloud-client # COPY temp/distcloud-client /distcloud-client/ -RUN git clone https://opendev.org/starlingx/distcloud-client.git /distcloud-client/ +RUN git clone --depth 1 --branch master https://opendev.org/starlingx/distcloud-client.git /distcloud-client/ RUN pip install -e /distcloud-client/distributedcloud-client # in case git repo is not accessable