fix: 'ln' error on image building

'/usr/bin/pip' now exists in ubuntu:20.04.
This commit is contained in:
Régis Behmo 2021-06-07 09:56:44 +02:00 committed by Régis Behmo
parent fe92a88234
commit 3803c37d7e
2 changed files with 2 additions and 4 deletions

View File

@ -1 +1 @@
__version__ = "11.0.0"
__version__ = "11.0.1"

View File

@ -5,9 +5,7 @@ RUN apt update && \
apt upgrade -y && \
# python 3.8
apt install -y language-pack-en git python3 python3-pip libmysqlclient-dev
RUN ln -s /usr/bin/python3 /usr/bin/python \
&& ln -s /usr/bin/pip3 /usr/bin/pip
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN mkdir /openedx
RUN git clone https://github.com/edx/edx-notes-api --branch {{ OPENEDX_COMMON_VERSION }} --depth 1 /openedx/edx-notes-api