Pin grpc versions
[osm/devops.git] / docker / LCM / Dockerfile
index 301582b..3ccb343 100644 (file)
@@ -47,7 +47,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git make
     && 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.1 \
+    && python3 -m pip install -U juju==2.8.2 \
     && rm -rf /var/lib/apt/lists/*
 
 # RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
@@ -70,7 +70,7 @@ RUN curl -L https://launchpad.net/juju/2.7/2.7.6/+download/juju-2.7.6-k8s.tar.xz
     && mv juju /usr/local/bin/juju
 
 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
-ARG RELEASE=ReleaseSEVEN-daily
+ARG RELEASE=ReleaseEIGHT-daily
 ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
 ARG REPOSITORY=testing
 
@@ -79,16 +79,17 @@ 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
 
-RUN apt-get update && apt-get install -y python3-osm-lcm${LCM_VERSION} \
-                                         python3-osm-common${COMMON_VERSION} \
-                                         python3-n2vc${N2VC_VERSION} \
-                                         && rm -rf /var/lib/apt/lists/*
-
-EXPOSE 9999
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
+     python3-osm-lcm${LCM_VERSION} \
+     python3-osm-common${COMMON_VERSION} \
+     python3-n2vc${N2VC_VERSION} \
+     && rm -rf /var/lib/apt/lists/*
 
 LABEL Maintainer="alfonso.tiernosepulveda@telefonica.com" \
       Description="This implements life cycle management engine for OSM" \