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/post.txt
RUN pip install -r requirements/edx/paver.txt
# TODO install ced from pip
RUN curl https://raw.githubusercontent.com/regisb/ced/v0.2/ced/ced > /usr/local/bin/ced
RUN chmod a+x /usr/local/bin/ced
RUN pip install ced
# Finish requirements install
RUN paver install_prereqs

View File

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