Hi @regis,
I am trying to build a custom image using the following command getting the following error.
Command : tutor images build openedx --build-arg EDX_PLATFORM_REPOSITORY= --build-arg EDX_PLATFORM_VERSION= Building image docker.io/overhangio/openedx:3.11.6 docker build -t docker.io/overhangio/openedx:3.11.6 /home/vs/.local/share/tutor/env/build/openedx --build-arg EDX_PLATFORM_REPOSITORY= --build-arg EDX_PLATFORM_VERSION= Sending build context to Docker daemon 25.09kB Step 1/43 : FROM docker.io/ubuntu:16.04 ---> 77be327e4b63 Step 2/43 : MAINTAINER Overhang.io ---> Using cache ---> 46cba0e9667f Step 3/43 : 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 ---> 1ae130e40fb8 Step 4/43 : ARG DOCKERIZE_VERSION=v0.6.1 ---> Using cache ---> ce932c60cbc6 Step 5/43 : 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 ---> 1548d098c3ab Step 6/43 : ARG EDX_PLATFORM_REPOSITORY=https://github.com/edx/edx-platform.git ---> Using cache ---> 60b3b545e053 Step 7/43 : ARG EDX_PLATFORM_VERSION=open-release/ironwood.master ---> Using cache ---> 8979c93f69bd Step 8/43 : ARG EDX_PLATFORM_VERSION_DATE=20200227 ---> Using cache ---> 699b122f3c85 Step 9/43 : 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 ---> b90dc2aa4e44 Step 10/43 : WORKDIR /openedx/edx-platform ---> Using cache ---> 0e4f36cb3405 Step 11/43 : RUN curl https://github.com/overhangio/edx-platform/commit/0d4f6cc3433013960b28e963c4094ef2a2a92f04.patch | git apply - ---> Using cache ---> ace1ac3b51ee Step 12/43 : RUN cd /tmp && curl -L -o openedx-i18n.tar.gz https://github.com/openedx/openedx-i18n/archive/ironwood.tar.gz && tar xzf /tmp/openedx-i18n.tar.gz && mv openedx-i18n-ironwood/edx-platform/locale/ /openedx/locale/ && rm -rf openedx-i18n* ---> Using cache ---> 85a39a51edc1 Step 13/43 : RUN virtualenv /openedx/venv ---> Using cache ---> b32c12bf8680 Step 14/43 : ENV PATH /openedx/venv/bin:${PATH} ---> Using cache ---> aabf0594c0d5 Step 15/43 : ENV VIRTUAL_ENV /openedx/venv/ ---> Using cache ---> 778e0888e0b8 Step 16/43 : RUN pip install setuptools==39.0.1 pip==9.0.3 ---> Using cache ---> 32c41b9808f6 Step 17/43 : RUN pip install -r requirements/edx/base.txt ---> Running in 4df740ca59d4 Obtaining file:///openedx/edx-platform/common/lib/calc (from -r requirements/edx/base.txt (line 8)) Obtaining file:///openedx/edx-platform/common/lib/capa (from -r requirements/edx/base.txt (line 9)) Obtaining file:///openedx/edx-platform/common/lib/chem (from -r requirements/edx/base.txt (line 10)) Obtaining file:///openedx/edx-platform (from -r requirements/edx/base.txt (line 26)) Obtaining file:///openedx/edx-platform/common/lib/safe_lxml (from -r requirements/edx/base.txt (line 33)) Obtaining file:///openedx/edx-platform/common/lib/sandbox-packages (from -r requirements/edx/base.txt (line 34)) Obtaining file:///openedx/edx-platform/common/lib/symmath (from -r requirements/edx/base.txt (line 35)) Obtaining file:///openedx/edx-platform/openedx/core/lib/xblock_builtin/xblock_discussion (from -r requirements/edx/base.txt (line 36)) Obtaining file:///openedx/edx-platform/common/lib/xmodule (from -r requirements/edx/base.txt (line 40)) Obtaining acid-xblock from git+https://github.com/edx/acid-block.git@e46f9cda8a03e121a00c7e347084d142d22ebfb7#egg=acid-xblock (from -r requirements/edx/base.txt (line 7)) Cloning https://github.com/edx/acid-block.git (to e46f9cda8a03e121a00c7e347084d142d22ebfb7) to /openedx/venv/src/acid-xblock Could not find a tag or branch 'e46f9cda8a03e121a00c7e347084d142d22ebfb7', assuming commit. Obtaining codejail from git+https://github.com/edx/codejail.git@a320d43ce6b9c93b17636b2491f724d9e433be47#egg=codejail (from -r requirements/edx/base.txt (line 11)) Cloning https://github.com/edx/codejail.git (to a320d43ce6b9c93b17636b2491f724d9e433be47) to /openedx/venv/src/codejail Could not find a tag or branch 'a320d43ce6b9c93b17636b2491f724d9e433be47', assuming commit. Collecting crowdsourcehinter-xblock==0.1 from git+https://github.com/solashirai/crowdsourcehinter.git@518605f0a95190949fe77bd39158450639e2e1dc#egg=crowdsourcehinter-xblock==0.1 (from -r requirements/edx/base.txt (line 12)) Cloning https://github.com/solashirai/crowdsourcehinter.git (to 518605f0a95190949fe77bd39158450639e2e1dc) to /tmp/pip-build-uVOQbN/crowdsourcehinter-xblock error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Command "git clone -q https://github.com/solashirai/crowdsourcehinter.git /tmp/pip-build-uVOQbN/crowdsourcehinter-xblock" failed with error code 128 in None You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. The command '/bin/sh -c pip install -r requirements/edx/base.txt' returned a non-zero code: 1 Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:3.11.6 /home/vs/.local/share/tutor/env/build/openedx --build-arg EDX_PLATFORM_REPOSITORY= --build-arg EDX_PLATFORM_VERSION=
Any Idea why it is getting and how to resolve it?
Regards,
VS