fix: 'ln' error in image building

'/usr/bin/pip' now exists in ubuntu:20.04.
This commit is contained in:
Régis Behmo 2021-06-07 10:11:08 +02:00 committed by Régis Behmo
parent f9763b138f
commit 7430c4b0ae
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -4,8 +4,7 @@ MAINTAINER Overhang.io <contact@overhang.io>
RUN apt update && \
apt upgrade -y && \
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 /openedx/data
RUN git clone https://github.com/edx/xqueue --branch {{ OPENEDX_COMMON_VERSION }} --depth 1 /openedx/xqueue