Build from fork of edx-platform

tutor images build openedx
–build-arg EDX_PLATFORM_VERSION=open-release/juniper.master

  Step 8/52 : ARG EDX_PLATFORM_VERSION_DATE=20200505
 ---> Using cache
 ---> 44960200ef1d
Step 9/52 : RUN mkdir -p /openedx/edx-platform &&     echo "Pulling $EDX_PLATFORM_VERSION tag from $EDX_PLATFORM_REPOSITORY ($EDX_PLATFORM_VERSION_DATE)" &&     git clone $EDX_PLATFORM_REPOSITORY --branch $EDX_PLATFORM_VERSION --depth 1 /openedx/edx-platform
 ---> Using cache
 ---> 14f8fcfd0068
Step 10/52 : WORKDIR /openedx/edx-platform
 ---> Using cache
 ---> f8ec12fb5577
Step 11/52 : RUN curl | git apply -
 ---> Running in 677ec6f53f92
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6655  100  6655    0     0   1410      0  0:00:04  0:00:04 --:--:--  1411
error: patch failed: cms/djangoapps/contentstore/views/tests/
error: cms/djangoapps/contentstore/views/tests/ patch does not apply
error: patch failed: cms/djangoapps/contentstore/views/
error: cms/djangoapps/contentstore/views/ patch does not apply
The command '/bin/sh -c curl | git apply -' returned a non-zero code: 1
Error: Command failed with status 1: docker build -t /Users/gaoyu/Library/Application Support/tutor/env/build/openedx --build-arg EDX_PLATFORM_REPOSITORY= --build-arg EDX_PLATFORM_VERSION=open-release/juniper.mastertutor --build-arg EDX_PLATFORM_REPOSITORY= --build-arg EDX_PLATFORM_VERSION=open-release/juniper.master

You should check the Dockerfile,

$ cat .local/share/tutor/env/build/openedx/Dockerfile

Because there are different values ?? For example

ARG EDX_PLATFORM_VERSION=open-release/juniper.3

and the other patches ?

I thought that it was clear from the documentation that you shouldn’t fork edx-platform from the open-release/juniper.master branch, but I was wrong, so I added more words to the docs:

tl;dr: you should fork edx-platform from the open-release/juniper.3 tag.


thanks,i will try the open-release/juniper.3 tag