mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 06:07:56 +00:00
Use common open edx version to download i18n assets
This commit is contained in:
parent
f0a3cc6072
commit
9c118b164a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user