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 <cristina.pauna@enea.com>
Change-Id: I414adf82f436c21abeb7d11d13b82beab8cc384b
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 && \
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