fix 1220: LCM Dockerfile remove grpcio-tools grpclib 30/9730/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 22 Sep 2020 09:40:46 +0000 (09:40 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 22 Sep 2020 15:26:00 +0000 (15:26 +0000)
These dependencies are installed with the debian python3-osm-lcm
package, using a post-install script. This script get the
required version.

Removed other packages not needed

Change-Id: I6472e756cb3da32632ca18a9d165ef2e8ec7d270
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
docker/LCM/Dockerfile

index 3ccb343..6675a99 100644 (file)
@@ -40,13 +40,10 @@ APT::AutoRemove::SuggestsImportant "false";\n'\
 RUN apt-get update && apt-get -y install curl software-properties-common
 
 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git make python3 \
-    gpg-agent python3-pip python3-pymongo python3-aiohttp \
+    gpg-agent python3-pip  \
     python3-all python3-setuptools openssh-client libffi-dev libssl-dev \
-    python3-bitarray python3-regex python3-lxml dh-python wget tox \
-    python3-cffi \
+    wget tox python3-cffi \
     && python3 -m pip install -U pip \
-    && python3 -m pip install -U aiokafka lxml six enum34 \
-    && python3 -m pip install requests \
     && python3 -m pip install -U juju==2.8.2 \
     && rm -rf /var/lib/apt/lists/*
 
@@ -79,8 +76,6 @@ RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} LCM N
 
 RUN python3 -m pip install -U "cffi==1.13.2"
 
-RUN python3 -m pip install grpcio==1.31.0 grpcio-tools==1.31.0 grpclib==0.3.2
-
 ARG LCM_VERSION
 ARG COMMON_VERSION
 ARG N2VC_VERSION