Fix ocloudvirtualresource api typo
[pti/o2.git] / Dockerfile
index 75e2363..db2258d 100644 (file)
@@ -5,12 +5,12 @@ 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
@@ -31,10 +31,15 @@ RUN mkdir -p /src
 COPY o2ims/ /src/o2ims/\r
 COPY o2dms/ /src/o2dms/\r
 COPY o2common/ /src/o2common/\r
+\r
+RUN mkdir -p /src/o2app/\r
+COPY o2app/ /src/o2app/\r
 COPY setup.py /src/\r
 \r
 RUN pip install -e /src\r
 \r
+COPY configs/ /etc/o2/\r
+\r
 COPY tests/ /tests/\r
 \r
 RUN apt-get install -y procps vim\r