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

Docker builds broken - failed to update submodules #177

Open
sammcj opened this issue Nov 22, 2023 · 0 comments
Open

Docker builds broken - failed to update submodules #177

sammcj opened this issue Nov 22, 2023 · 0 comments

Comments

@sammcj
Copy link

sammcj commented Nov 22, 2023

Hello, just went to try out this project and found that the docker builds appear to be broken:

 docker-compose --profile chainfury build chainfury

[+] Building 7.1s (1/1) FINISHED                                                                                                        docker:default
 => ERROR [chainfury internal] load git source https://github.com/NimbleBoxAI/ChainFury.git#main                                                  7.0s
------
 > [chainfury internal] load git source https://github.com/NimbleBoxAI/ChainFury.git#main:
0.031 Initialized empty Git repository in /var/lib/docker/overlay2/kmi7v6n43ang13uzaq6g3rjro/diff/
0.711 e7042bfab103e005478225775f9a31d3ed64529e  refs/heads/main
1.090 From https://github.com/NimbleBoxAI/ChainFury
1.090  * [new branch]      main       -> main
1.090  * [new branch]      main       -> origin/main
4.789 Submodule 'cf_internal' (https://github.com/NimbleBoxAI/cf_internal.git) registered for path 'cf_internal'
4.791 Cloning into '/var/lib/docker/overlay2/6tdttt9znbsg1g44v8zpu0gzd/diff/cf_internal'...
5.098 fatal: could not read Username for 'https://github.com': terminal prompts disabled
5.100 fatal: clone of 'https://github.com/NimbleBoxAI/cf_internal.git' into submodule path '/var/lib/docker/overlay2/6tdttt9znbsg1g44v8zpu0gzd/diff/cf_internal' failed
5.100 Failed to clone 'cf_internal'. Retry scheduled
5.102 Cloning into '/var/lib/docker/overlay2/6tdttt9znbsg1g44v8zpu0gzd/diff/cf_internal'...
5.408 fatal: could not read Username for 'https://github.com': terminal prompts disabled
5.410 fatal: clone of 'https://github.com/NimbleBoxAI/cf_internal.git' into submodule path '/var/lib/docker/overlay2/6tdttt9znbsg1g44v8zpu0gzd/diff/cf_internal' failed
5.410 Failed to clone 'cf_internal' a second time, aborting
------
failed to solve: failed to read dockerfile: failed to update submodules for https://github.com/NimbleBoxAI/ChainFury.git: exit status 1

I think the key thing here is:

5.098 fatal: could not read Username for 'https://github.com': terminal prompts disabled

I suspect the docker image perhaps isn't setup to be run non-interactively?

@sammcj sammcj changed the title Docker builds broken - failed to update submodules for https://github.com/NimbleBoxAI/ChainFury.git Docker builds broken - failed to update submodules Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant