LCM Dockerfile install N2VC from debian 95/6795/8
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 30 Oct 2018 13:56:28 +0000 (14:56 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 30 Oct 2018 21:40:05 +0000 (22:40 +0100)
Change-Id: I26ba97498781ff224404fc3f750385be18c00cd5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
docker/LCM/Dockerfile

index ce39bc5..64e684f 100644 (file)
@@ -31,13 +31,15 @@ RUN apt-get update && apt-get install -y git make python3 \
     && pip3 install websockets==4.0.1 \
     && pip3 install requests
 
-RUN pip3 install PyNaCl
-
-RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
-    && cd N2VC \
-    && git checkout BUILD_v4.0.1_1 \
-    && cd modules/libjuju && python3 setup.py develop && cd ../.. \
-    && pip3 install -U -r requirements.txt
+# packages needed for N2VC because deb dependencies are not fine
+RUN pip3 install  'macaroonbakery>=1.1,<2.0' 'pyRFC3339>=1.0,<2.0' \
+      'pyyaml>=3.0,<4.0' 'theblues>=0.3.8,<1.0' 'websockets>=4.0,<5.0' \
+      'paramiko'   # PyNaCl
+# 
+# RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
+#     && cd N2VC \
+#     && cd modules/libjuju && python3 setup.py develop && cd ../.. \
+#     && pip3 install -U -r requirements.txt
 
 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
 ARG RELEASE=ReleaseFOUR-daily