summaryrefslogtreecommitdiffstats
path: root/ms/command-executor/src
diff options
context:
space:
mode:
authorOleg Mitsura <oleg.mitsura@bell.ca>2022-05-31 18:10:04 -0400
committerOleg Mitsura <oleg.mitsura@amdocs.com>2022-05-31 18:22:32 -0400
commit826cfd94ce636c5da62a616b6ce37980ec9f3f74 (patch)
treec8c55dcb284708db9e8fab62726612db771ae3d9 /ms/command-executor/src
parent4dbcb4c95a6e245d687de18602e00c3f91631b22 (diff)
CCSDK-3682 pin protobuf to 3.20.1
Issue-ID: CCSDK-3682 protobuf gets updated to a later version (without pinning), which is not compatible with protoc, as well as we need to keep it consistent with SO proto version. Change-Id: I7b35503e7f2997cc56e131ad4775a41a942eeac5 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Diffstat (limited to 'ms/command-executor/src')
-rw-r--r--ms/command-executor/src/main/docker/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ms/command-executor/src/main/docker/Dockerfile b/ms/command-executor/src/main/docker/Dockerfile
index 3a6d99a63..7704a20a5 100644
--- a/ms/command-executor/src/main/docker/Dockerfile
+++ b/ms/command-executor/src/main/docker/Dockerfile
@@ -15,10 +15,10 @@ RUN tar -xzf /source.tar.gz -C /tmp \
&& mkdir -p /opt/app/onap/blueprints/deploy /opt/app/onap/logs \
&& touch /opt/app/onap/logs/application.log \
&& chown -R onap:onap /opt \
- && chmod -R 755 /opt
-
-RUN python -m pip install --no-cache-dir --upgrade pip setuptools
-RUN pip install --no-cache-dir requests==2.26.0 grpcio==1.20.0 grpcio-tools==1.20.0 virtualenv==16.7.9 prometheus-client==0.11.0
+ && chmod -R 755 /opt \
+ && apt-get update && apt-get install -y procps iputils-ping curl telnet && rm -rf /var/lib/apt/lists/* \
+ && python -m pip install --no-cache-dir --upgrade pip setuptools \
+ && pip install --no-cache-dir requests==2.26.0 grpcio==1.20.0 grpcio-tools==1.20.0 virtualenv==16.7.9 prometheus-client==0.11.0 protobuf==3.20.1
USER onap
ENTRYPOINT /opt/app/onap/command-executor/start.sh