Installing juju after module installation for dependencies 80/8280/3
authorFelipe Vicens <felipe.vicens@atos.net>
Sat, 30 Nov 2019 18:35:52 +0000 (19:35 +0100)
committerFelipe Vicens <felipe.vicens@atos.net>
Sat, 30 Nov 2019 23:41:19 +0000 (00:41 +0100)
Change-Id: I651150e37b4206e0e1827e83ef6815685e4cf25c
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
docker/MON/Dockerfile

index 4b83d8e..ecb475f 100644 (file)
@@ -40,7 +40,9 @@ RUN apt-get update \
     && rm -rf /var/lib/apt/lists/* \
     && pip3 install pip==9.0.3
 
-RUN python3 -m pip install -U juju
+RUN pip3 install  'macaroonbakery>=1.1,<2.0' 'pyRFC3339>=1.0,<2.0' \
+      'pyyaml>=5.1.2' 'theblues>=0.3.8,<1.0' 'websockets>=4.0,<5.0' \
+      'paramiko'   # PyNaCl
 
 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
 ARG RELEASE=ReleaseFOUR-daily
@@ -57,6 +59,10 @@ RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add - \
     && apt-get -y install python3-osm-common${COMMON_VERSION} \
                           python3-osm-mon${MON_VERSION} \
                           python3-n2vc${N2VC_VERSION}
+
+
+RUN python3 -m pip install -U juju
+
 COPY scripts/ scripts/
 
 ENV OSMMON_MESSAGE_DRIVER kafka