virtualenv lib changed. need to pin to older version. 80/102080/1
authorOleg Mitsura <oleg.mitsura@amdocs.com>
Thu, 20 Feb 2020 15:42:35 +0000 (10:42 -0500)
committerOleg Mitsura <oleg.mitsura@amdocs.com>
Thu, 20 Feb 2020 15:43:42 +0000 (10:43 -0500)
Issue-ID: CCSDK-2108

virtualenv no longer has "writefile" function, also activate_this.py has changed.
we don't have time to investigate the impact right now, so doing this work-around.

Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I9503050163ba420cf0e39ded4d992a34bf5d0ae3

ms/command-executor/src/main/docker/Dockerfile

index b28e580..70cf943 100644 (file)
@@ -3,7 +3,7 @@ FROM python:3.6-slim
 ENV GRPC_PYTHON_VERSION 1.20.0
 RUN python -m pip install --upgrade pip
 RUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}
-RUN pip install virtualenv
+RUN pip install virtualenv==16.7.9
 
 COPY start.sh /opt/app/onap/start.sh
 RUN chmod u+x /opt/app/onap/start.sh