Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutor build image openedx fails #1081

Closed
robertmuster opened this issue Jun 18, 2024 · 3 comments
Closed

tutor build image openedx fails #1081

robertmuster opened this issue Jun 18, 2024 · 3 comments

Comments

@robertmuster
Copy link

robertmuster commented Jun 18, 2024

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?

Thank you.
Cheers,
Robert

@regisb
Copy link
Contributor

regisb commented Jun 19, 2024

Is git installed on your host?

@DawoudSheraz
Copy link
Contributor

@robertmuster Can you answer Régis' question above? Thanks

@DawoudSheraz DawoudSheraz moved this from Pending Triage to Backlog in Tutor project management Jul 15, 2024
@DawoudSheraz
Copy link
Contributor

@robertmuster Following up on above comment.

@DawoudSheraz DawoudSheraz closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Tutor project management Aug 5, 2024
@DawoudSheraz DawoudSheraz moved this from Done to Won't fix in Tutor project management Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Won't fix
Development

No branches or pull requests

3 participants