Hello,
I want to install an xblock (following the example from the docs - with xpoll). After appending it to the config.yml with
tutor config save --append OPENEDX_EXTRA_PIP_REQUIREMENTS=git+https://github.com/open-craft/xblock-poll.git
running openedx image fails.
Bug description
Result of tutor images build openedx:
tutor images build openedx
Building image docker.io/overhangio/openedx:17.0.6-indigo
docker buildx build --tag=docker.io/overhangio/openedx:17.0.6-indigo --output=type=docker --cache-from=type=registry,ref=docker.io/overhangio/openedx:17.0.6-indigo-cache /home/rvanmuster/.local/share/tutor/env/build/openedx
[+] Building 3.0s (11/65) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 12.06kB 0.0s
=> resolve image config for docker-image://docker.io/docker/dockerfile:1 0.7s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:a57df69d0ea827fb7266491f2813635de6f17269be881f696fbfdf2d83dda33e 0.0s
=> [internal] load metadata for docker.io/powerman/dockerize:0.19.0 0.7s
=> [internal] load metadata for docker.io/library/ubuntu:20.04 0.7s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> importing cache manifest from docker.io/overhangio/openedx:17.0.6-indigo-cache 1.3s
=> => inferred cache manifest type: application/vnd.oci.image.index.v1+json 0.0s
=> CANCELED [internal] load build context 0.0s
=> => transferring context: 1.42kB 0.0s
=> FROM docker.io/powerman/dockerize:0.19.0@sha256:a34158d699e065609fc845e7cdc1e070f185afdbca317fe4931aaea04818f8bf 0.0s
=> ERROR [locales 1/2] ADD --keep-git-dir=true https://github.com/openedx/openedx-i18n.git#release/quince /tmp/openedx-i18n 0.0s
=> [minimal 1/2] FROM docker.io/library/ubuntu:20.04@sha256:0b897358ff6624825fb50d20ffb605ab0eaea77ced0adb8c6a4b756513dec6fc 0.0s
------
> [locales 1/2] ADD --keep-git-dir=true https://github.com/openedx/openedx-i18n.git#release/quince /tmp/openedx-i18n:
------
ERROR: failed to solve: failed to load cache key: failed to init repo at /var/lib/docker/overlay2/ukki5up1m50pusnfi62whzu8z/diff: git error: exec: "git": executable file not found in $PATH
stderr:
Error: Command failed with status 1: docker buildx build --tag=docker.io/overhangio/openedx:17.0.6-indigo --output=type=docker --cache-from=type=registry,ref=docker.io/overhangio/openedx:17.0.6-indigo-cache /home/user/.local/share/tutor/env/build/openedx
Environment
Linux Rocky8, tutor 17.0.6, installed 2 days ago.
Any ideas on what the issue is?
Hello, I want to install an xblock (following the example from the docs - with xpoll). After appending it to the config.yml with
tutor config save --append OPENEDX_EXTRA_PIP_REQUIREMENTS=git+https://github.com/open-craft/xblock-poll.git
running openedx image fails. Bug descriptionResult of tutor images build openedx:
tutor images build openedx
Environment Linux Rocky8, tutor 17.0.6, installed 2 days ago. Any ideas on what the issue is?
Thank you. Cheers, Robert