6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-10 23:30:59 +00:00

Install ced from pip

This commit is contained in:
Régis Behmo 2017-09-19 14:47:52 +02:00
parent 3170541f91
commit 80b957bf5b
2 changed files with 4 additions and 7 deletions

View File

@ -34,9 +34,7 @@ RUN pip install -r requirements/edx/local.txt
RUN pip install -r requirements/edx/base.txt RUN pip install -r requirements/edx/base.txt
RUN pip install -r requirements/edx/post.txt RUN pip install -r requirements/edx/post.txt
RUN pip install -r requirements/edx/paver.txt RUN pip install -r requirements/edx/paver.txt
# TODO install ced from pip RUN pip install ced
RUN curl https://raw.githubusercontent.com/regisb/ced/v0.2/ced/ced > /usr/local/bin/ced
RUN chmod a+x /usr/local/bin/ced
# Finish requirements install # Finish requirements install
RUN paver install_prereqs RUN paver install_prereqs

View File

@ -1,11 +1,10 @@
FROM nginx:1.13 FROM nginx:1.13
VOLUME /openedx/data VOLUME /openedx/data
# TODO install ced from pip # Install ced
RUN apt update RUN apt update
RUN apt install -y curl python RUN apt install -y python-pip
RUN curl https://raw.githubusercontent.com/regisb/ced/v0.2/ced/ced > /usr/local/bin/ced RUN pip install ced
RUN chmod a+x /usr/local/bin/ced
ARG lms_host=localhost ARG lms_host=localhost
ARG cms_host=studio.$lms_host ARG cms_host=studio.$lms_host