Skip to content

Docker builds broken - failed to update submodules #177

@sammcj

Description

@sammcj

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions