From e1e6a00c0fa83343105df0ba83d850635ffd6104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 1 Jul 2020 18:25:51 +0200 Subject: [PATCH] Fix pycontracts error in openedx docker image build See https://discuss.overhang.io/t/tutor-images-build-openedx-failed/717/2 --- CHANGELOG.md | 1 + tutor/templates/build/openedx/Dockerfile | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36f3d5acf5..4380bbaaaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased +- [Bugfix] Fix pycontracts installation error when building openedx Docker image - [Bugfix] Fix access to dicussion forum in development mode ## v10.0.9 (2020-07-07) diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index 70ad511967..dc86505d59 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -48,6 +48,10 @@ RUN curl https://github.com/overhangio/edx-platform/commit/089b26eed0302ed1f9a5b # https://github.com/edx/edx-platform/pull/24237 # https://github.com/overhangio/edx-platform/tree/overhangio/fix-no-csmh RUN curl https://github.com/overhangio/edx-platform/commit/6dbf2eddf7a4563c04c3b51edf5e131106d69e19.patch | git apply - +# Fix pycontracts version +# https://github.com/edx/edx-platform/pull/24376 +RUN curl https://github.com/overhangio/edx-platform/commit/226fb100c8f5e1ba66be1e07cf99d3b50ccaf8a4.patch | git apply - + # Download extra locales to /openedx/locale/contrib/locale RUN cd /tmp \