Docs: Add API docs from swagger json file; Add user guide document
[pti/o2.git] / Dockerfile
index 3cbe00a..1ac328a 100644 (file)
@@ -5,15 +5,17 @@ RUN apt-get update; apt-get install -y git gcc
 # in case git repo is not accessable\r
 # RUN mkdir -p /cgtsclient\r
 # COPY temp/config /cgtsclient/\r
-RUN git clone https://opendev.org/starlingx/config.git /cgtsclient\r
+RUN git clone --depth 1 --branch master https://opendev.org/starlingx/config.git /cgtsclient\r
 RUN pip install -e /cgtsclient/sysinv/cgts-client/cgts-client/\r
 \r
 # RUN mkdir -p /distcloud-client\r
 # COPY temp/distcloud-client /distcloud-client/\r
-RUN git clone https://opendev.org/starlingx/distcloud-client.git /distcloud-client/\r
+RUN git clone --depth 1 --branch master https://opendev.org/starlingx/distcloud-client.git /distcloud-client/\r
 RUN pip install -e /distcloud-client/distributedcloud-client\r
 # in case git repo is not accessable\r
 \r
+# RUN git clone --depth 1 --branch master https://github.com/cloudify-incubator/cloudify-helm-plugin.git /helmsdk\r
+\r
 \r
 COPY requirements.txt /tmp/\r
 COPY requirements-stx.txt /tmp/\r
@@ -42,6 +44,9 @@ COPY configs/ /etc/o2/
 \r
 COPY tests/ /tests/\r
 \r
-RUN apt-get install -y procps vim\r
+RUN apt-get install -y procps vim curl\r
+\r
+RUN curl -O https://get.helm.sh/helm-v3.3.1-linux-amd64.tar.gz;\r
+RUN tar -zxvf helm-v3.3.1-linux-amd64.tar.gz; cp linux-amd64/helm /usr/local/bin\r
 \r
 WORKDIR /src\r