From 9c118b164a9a7e9ddabf2393cf42412f53b29648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 17 Sep 2020 11:02:05 +0200 Subject: [PATCH] Use common open edx version to download i18n assets --- tutor/templates/build/openedx/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index c0b2787..484ccef 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -53,10 +53,10 @@ RUN curl https://github.com/edx/edx-platform/commit/80fa2cae128e2a1fd8ab298351b7 ###### Download extra locales to /openedx/locale/contrib/locale FROM minimal as locales RUN cd /tmp \ - && curl -L -o openedx-i18n.tar.gz https://github.com/openedx/openedx-i18n/archive/juniper.3.tar.gz \ + && curl -L -o openedx-i18n.tar.gz https://github.com/openedx/openedx-i18n/archive/{{ OPENEDX_COMMON_VERSION }}.tar.gz \ && tar xzf /tmp/openedx-i18n.tar.gz \ && mkdir -p /openedx/locale/contrib \ - && mv openedx-i18n-juniper.3/edx-platform/locale /openedx/locale/contrib \ + && mv openedx-i18n-{{ OPENEDX_COMMON_VERSION|replace("/", "-") }}/edx-platform/locale /openedx/locale/contrib \ && rm -rf openedx-i18n* ###### Install python requirements in virtualenv