docs: add git clone eof error troubleshooting (#1009)

This commit is contained in:
Danyal Faheem 2024-04-16 12:07:09 +05:00 committed by GitHub
parent d8993f6293
commit 675719e48e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -169,6 +169,8 @@ This issue should only happen in development mode. Long story short, it can be s
If you'd like to learn more, please take a look at `this Github issue <https://github.com/overhangio/tutor/issues/302>`__.
.. _high_resource_consumption:
High resource consumption on ``tutor images build`` by docker
-------------------------------------------------------------
@ -193,3 +195,15 @@ Now build again::
tutor images build
All build commands should now make use of the newly configured builder. To later revert to the default builder, run ``docker buildx use default``.
.. note::
Setting a too low value for maximum parallelism will result in longer build times.
fatal: the remote end hung up unexpectedly / fatal: early EOF / fatal: index-pack failed when running ``tutor images build ...``
--------------------------------------------------------------------------------------------------------------------------------
This issue can occur due to problems with the network connection while cloning edx-platform which is a fairly large repository.
First, try to run the same command once again to see if it works as the network connection can sometimes drop during the build process.
If that does not work, follow the tutorial above for :ref:`High resource consumption <high_resource_consumption>` to limit the number of concurrent build steps so that the network connection is not being shared between multiple layers at once.