7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-18 05:12:21 +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
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