summaryrefslogtreecommitdiffstats
path: root/samples/services
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-05-28 09:02:14 +0800
committerwutianwei <wutianwei1@huawei.com>2018-05-28 09:51:00 +0800
commitb1dd5121ebb0acb447dff7bfe5dd388f361e6d8a (patch)
tree33256829b4222ec3b0c464102094db64dd072202 /samples/services
parenta611041d138a71a87c12d4734e5d1a780852ecc9 (diff)
fix the sdc sample deploy issue
there is a issue "No module named google.protobuf", when trying to run the services docker. Add the protobuf in services Dockerfile. Change-Id: I280dc1d5908bcec784e9e1e7c4d07e145f092cdb Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'samples/services')
-rw-r--r--samples/services/nginx/docker/subservices/lb/Dockerfile2
-rw-r--r--samples/services/nginx/docker/subservices/proxy/Dockerfile2
-rw-r--r--samples/services/nginx/docker/subservices/server/Dockerfile2
-rw-r--r--samples/services/snort_ids/docker/Dockerfile2
4 files changed, 4 insertions, 4 deletions
diff --git a/samples/services/nginx/docker/subservices/lb/Dockerfile b/samples/services/nginx/docker/subservices/lb/Dockerfile
index 125da0b..3b13631 100644
--- a/samples/services/nginx/docker/subservices/lb/Dockerfile
+++ b/samples/services/nginx/docker/subservices/lb/Dockerfile
@@ -20,7 +20,7 @@ RUN \
python-pip \
&& \
# Install required python packages
- python -m pip install grpcio redis jinja2
+ python -m pip install grpcio redis jinja2 protobuf
COPY /process /process
COPY /grpc /grpc
diff --git a/samples/services/nginx/docker/subservices/proxy/Dockerfile b/samples/services/nginx/docker/subservices/proxy/Dockerfile
index 0f061a5..b063de7 100644
--- a/samples/services/nginx/docker/subservices/proxy/Dockerfile
+++ b/samples/services/nginx/docker/subservices/proxy/Dockerfile
@@ -20,7 +20,7 @@ RUN \
python-pip \
&& \
# Install required python packages
- python -m pip install grpcio redis jinja2
+ python -m pip install grpcio redis jinja2 protobuf
COPY /process /process
COPY /grpc /grpc
diff --git a/samples/services/nginx/docker/subservices/server/Dockerfile b/samples/services/nginx/docker/subservices/server/Dockerfile
index 8bf9449..434a8d4 100644
--- a/samples/services/nginx/docker/subservices/server/Dockerfile
+++ b/samples/services/nginx/docker/subservices/server/Dockerfile
@@ -20,7 +20,7 @@ RUN \
python-pip \
&& \
# Install required python packages
- python -m pip install grpcio redis jinja2
+ python -m pip install grpcio redis jinja2 protobuf
COPY /process /process
COPY /grpc /grpc
diff --git a/samples/services/snort_ids/docker/Dockerfile b/samples/services/snort_ids/docker/Dockerfile
index 50686ed..697acb9 100644
--- a/samples/services/snort_ids/docker/Dockerfile
+++ b/samples/services/snort_ids/docker/Dockerfile
@@ -70,7 +70,7 @@ RUN \
ln -s libdnet.so.1.0.1 libdnet.1 \
&& \
# Install required python libraries
- python -m pip install grpcio redis idstools
+ python -m pip install grpcio redis idstools protobuf
COPY /process /process
COPY /grpc /grpc