From 387b8b0b3d4889aa2713cfcf9fadc5bd5ba49b27 Mon Sep 17 00:00:00 2001 From: Srideep Devireddy Date: Thu, 27 Jun 2019 20:29:03 -0400 Subject: [PATCH 1/3] bumped up sonic-mgmt-framework commit-id --- src/sonic-mgmt-framework | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-mgmt-framework b/src/sonic-mgmt-framework index 74d2c011b5f1..00d9f3ad8aa4 160000 --- a/src/sonic-mgmt-framework +++ b/src/sonic-mgmt-framework @@ -1 +1 @@ -Subproject commit 74d2c011b5f135fb9a47179fbd62c8f5e2ae60a9 +Subproject commit 00d9f3ad8aa4272a50ad59dafa245a9cf9c6a246 From a825f7e601b7b42a8216fac982bf467b0626b2a4 Mon Sep 17 00:00:00 2001 From: Srideep Devireddy Date: Thu, 27 Jun 2019 20:30:55 -0400 Subject: [PATCH 2/3] Add python packages to docker --- dockers/docker-sonic-mgmt-framework/Dockerfile.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 b/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 index a181020d6b43..836cc6107ab0 100644 --- a/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 @@ -7,6 +7,16 @@ RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%s ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update +RUN pip install connexion==1.1.15 \ + python_dateutil==2.6.0\ + setuptools >= 21.0.0 \ + grpcio-tools == 1.20.0 \ + pyangbind == 0.8.1 \ + certifi==2017.4.17 \ + python-dateutil==2.6.0 \ + six==1.8.0 \ + urllib3==1.21.1 + #RUN apt-get install -f -y libdbus-1-3 libdaemon0 libjansson4 From 8e4b212694e57dfed8f57d35a8134d0dac7721a2 Mon Sep 17 00:00:00 2001 From: Srideep Devireddy Date: Thu, 27 Jun 2019 21:13:23 -0400 Subject: [PATCH 3/3] Build fix for docker with python packages --- dockers/docker-sonic-mgmt-framework/Dockerfile.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 b/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 index 836cc6107ab0..cc8ca47ccf67 100644 --- a/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt-framework/Dockerfile.j2 @@ -9,12 +9,12 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN pip install connexion==1.1.15 \ python_dateutil==2.6.0\ - setuptools >= 21.0.0 \ - grpcio-tools == 1.20.0 \ - pyangbind == 0.8.1 \ + setuptools==21.0.0 \ + grpcio-tools==1.20.0 \ + pyangbind==0.6.0 \ certifi==2017.4.17 \ python-dateutil==2.6.0 \ - six==1.8.0 \ + six==1.11.0 \ urllib3==1.21.1