From 80b957bf5b7c169e7afc8342e8fc6e6d07314ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 19 Sep 2017 14:47:52 +0200 Subject: [PATCH] Install ced from pip --- edxapp/Dockerfile | 4 +--- nginx/Dockerfile | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/edxapp/Dockerfile b/edxapp/Dockerfile index b1d1363..35448a1 100644 --- a/edxapp/Dockerfile +++ b/edxapp/Dockerfile @@ -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 diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 77104e5..c9726dd 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -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