From 86d161416e633967e84a48ebe9d1277a7873dcac Mon Sep 17 00:00:00 2001 From: Cristina Pauna Date: Thu, 14 Nov 2019 16:28:33 +0200 Subject: [PATCH] [os] Fix python version The python version we currently use in all our containers is 3.6 Also make sure this version is the default one. JIRA: VAL-86 Signed-off-by: Cristina Pauna Change-Id: I414adf82f436c21abeb7d11d13b82beab8cc384b --- docker/os/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/os/Dockerfile b/docker/os/Dockerfile index 61d1848..a47485e 100644 --- a/docker/os/Dockerfile +++ b/docker/os/Dockerfile @@ -57,7 +57,8 @@ COPY --from=build /opt/akraino/validation /opt/akraino/validation COPY --from=build /opt/akraino/ltp.tar.gz /opt/akraino/ltp.tar.gz RUN apt-get update && apt-get -y install \ - python3-pip python3.7 &&\ + python3-pip python3.6 && \ + cd /usr/bin && ln -s python3 python && \ pip3 install -r /wheels/requirements/pip-requirements.txt \ -f /wheels && \ rm -rf /wheels && \ @@ -65,5 +66,5 @@ RUN apt-get update && apt-get -y install \ rm -rf /var/cache/apt/* && \ rm -rf /var/lib/apt/lists/* -# Install blueval dependencies +# Install bluval dependencies RUN pip3 install -r /opt/akraino/validation/bluval/requirements.txt -- 2.16.6