Running a fork of edx-platform

I’m trying to running a fork of edx-platform with:

tutor images build openedx
–build-arg EDX_PLATFORM_REPOSITORY=https://mygitrepo/edx-platform.git
–build-arg EDX_PLATFORM_VERSION=my-tag-or-branch

But i get this error message:

Blockquote
:warning: You are running Tutor as root. This is strongly not recommended. If you are doing this in order to access the Docker daemon, you should instead add your user to the ‘docker’ group. (see https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user)
Building image docker.io/overhangio/openedx:3.11.12
docker build -t docker.io/overhangio/openedx:3.11.12 /root/.local/share/tutor/env/build/openedx --build-arg EDX_PLATFORM_REPOSITORY=https://github.com/morta10/edx-platform.git --build-arg EDX_PLATFORM_VERSION=master
Sending build context to Docker daemon 3.172MB
Step 1/51 : FROM docker.io/ubuntu:16.04
—> c6a43cd4801e
Step 2/51 : MAINTAINER Overhang.io contact@overhang.io
—> Using cache
—> 44edb7647fec
Step 3/51 : RUN apt update && apt install -y language-pack-en git python-virtualenv build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-virtualenv libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc g++ gettext gfortran graphviz graphviz-dev libffi-dev libfreetype6-dev libgeos-dev libjpeg8-dev liblapack-dev libpng12-dev libsqlite3-dev libxml2-dev libxmlsec1-dev libxslt1-dev lynx nodejs npm ntp pkg-config && rm -rf /var/lib/apt/lists/*
—> Using cache
—> 933e2671578b
Step 4/51 : ARG DOCKERIZE_VERSION=v0.6.1
—> Using cache
—> 29f111677657
Step 5/51 : RUN curl -L -o /tmp/dockerize.tar.gz https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && tar -C /usr/local/bin -xzvf /tmp/dockerize.tar.gz && rm /tmp/dockerize.tar.gz
—> Using cache
—> 89bf3cd9cf79
Step 6/51 : ARG EDX_PLATFORM_REPOSITORY=https://github.com/edx/edx-platform.git
—> Using cache
—> 269e6fbc21a5
Step 7/51 : ARG EDX_PLATFORM_VERSION=open-release/ironwood.master
—> Using cache
—> 49996abd1b84
Step 8/51 : ARG EDX_PLATFORM_VERSION_DATE=20200227
—> Using cache
—> adf85c25eac1
Step 9/51 : 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
—> 0b5463a7d3cc
Step 10/51 : WORKDIR /openedx/edx-platform
—> Using cache
—> cc62fffa9292
Step 11/51 : RUN curl https://github.com/overhangio/edx-platform/commit/0d4f6cc3433013960b28e963c4094ef2a2a92f04.patch | git apply -
—> Running in 052b0cd8d37e
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6655 100 6655 0 0 14004 0 --:–:-- --:–:-- --:–:-- 14010
error: patch failed: cms/djangoapps/contentstore/views/tests/test_videos.py:452
error: cms/djangoapps/contentstore/views/tests/test_videos.py: patch does not apply
error: patch failed: cms/djangoapps/contentstore/views/videos.py:10
error: cms/djangoapps/contentstore/views/videos.py: patch does not apply
The command ‘/bin/sh -c curl https://github.com/overhangio/edx-platform/commit/0d4f6cc3433013960b28e963c4094ef2a2a92f04.patch | git apply -’ returned a non-zero code: 1
Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:3.11.12 /root/.local/share/tutor/env/build/openedx --build-arg EDX_PLATFORM_REPOSITORY=https://github.com/morta10/edx-platform.git --build-arg EDX_PLATFORM_VERSION=master

did you get pass this error? im a newbie too using my forked version ( master ).

ok to help out others, i manage to find the right way, you should not use master as the EDX_PLATFORM_VERSION use the right branch.

did you get pass this error,i have the same error,
tutor images build openedx
–build-arg EDX_PLATFORM_REPOSITORY=https://github.com/fengyingbanbo/edx-platform.git
–build-arg EDX_PLATFORM_VERSION=open-release/juniper.master
Step 10/52 : WORKDIR /openedx/edx-platform
—> Using cache
—> f8ec12fb5577
Step 11/52 : RUN curl https://github.com/overhangio/edx-platform/commit/0d4f6cc3433013960b28e963c4094ef2a2a92f04.patch | git apply -
—> Running in e36beb6f9713
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6655 100 6655 0 0 4136 0 0:00:01 0:00:01 --:–:-- 4138
error: patch failed: cms/djangoapps/contentstore/views/tests/test_videos.py:452
error: cms/djangoapps/contentstore/views/tests/test_videos.py: patch does not apply
error: patch failed: cms/djangoapps/contentstore/views/videos.py:10
error: cms/djangoapps/contentstore/views/videos.py: patch does not apply
The command ‘/bin/sh -c curl https://github.com/overhangio/edx-platform/commit/0d4f6cc3433013960b28e963c4094ef2a2a92f04.patch | git apply -’ returned a non-zero code: 1
Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:3.12.6 /Users/gaoyu/Library/Application Support/tutor/env/build/openedx --build-arg EDX_PLATFORM_REPOSITORY=https://github.com/fengyingbanbo/edx-platform.git --build-arg EDX_PLATFORM_VERSION=open-release/juniper.master
gaoyu@GaoYus-Mac-mini devstack % tutor images build openedx
–build-arg EDX_PLATFORM_REPOSITORY=https://github.com/fengyingbanbo/edx-platform.git
–build-arg EDX_PLATFORM_VERSION=open-release/juniper.master

my problem was EDX_PLATFORM_VERSION, you must choose right version. I chose (open-release/ironwood.master)