From ce8b5a496cf631f2ed9cc4f6041227801767e0eb Mon Sep 17 00:00:00 2001 From: Felipe Vicens Date: Sat, 30 Nov 2019 19:35:52 +0100 Subject: [PATCH] Installing juju after module installation for dependencies Change-Id: I651150e37b4206e0e1827e83ef6815685e4cf25c Signed-off-by: Felipe Vicens --- docker/MON/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index 4b83d8eb..ecb475fb 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/Dockerfile @@ -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 -- 2.25.1