6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-10 15:20:56 +00:00

Use common open edx version to download i18n assets

This commit is contained in:
Régis Behmo 2020-09-17 11:02:05 +02:00
parent f0a3cc6072
commit 9c118b164a

View File

@ -53,10 +53,10 @@ RUN curl https://github.com/edx/edx-platform/commit/80fa2cae128e2a1fd8ab298351b7
###### Download extra locales to /openedx/locale/contrib/locale ###### Download extra locales to /openedx/locale/contrib/locale
FROM minimal as locales FROM minimal as locales
RUN cd /tmp \ 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 \ && tar xzf /tmp/openedx-i18n.tar.gz \
&& mkdir -p /openedx/locale/contrib \ && 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* && rm -rf openedx-i18n*
###### Install python requirements in virtualenv ###### Install python requirements in virtualenv