X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=1ac328a332774616a622066aa7e0d25d68ec2d9a;hb=refs%2Fheads%2Fe-release;hp=3cbe00a80af1057ebde763d2a3a2ed0a2e1dea3c;hpb=5e02e76308e1677fb106572b885a366eb6c0fbec;p=pti%2Fo2.git diff --git a/Dockerfile b/Dockerfile index 3cbe00a..1ac328a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,17 @@ 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 +# RUN git clone --depth 1 --branch master https://github.com/cloudify-incubator/cloudify-helm-plugin.git /helmsdk + COPY requirements.txt /tmp/ COPY requirements-stx.txt /tmp/ @@ -42,6 +44,9 @@ COPY configs/ /etc/o2/ COPY tests/ /tests/ -RUN apt-get install -y procps vim +RUN apt-get install -y procps vim curl + +RUN curl -O https://get.helm.sh/helm-v3.3.1-linux-amd64.tar.gz; +RUN tar -zxvf helm-v3.3.1-linux-amd64.tar.gz; cp linux-amd64/helm /usr/local/bin WORKDIR /src