[BUG]: building runtime
target fails at git_clone
when Morpheus is a submodule
#1870
Closed
2 tasks done
Labels
Milestone
Version
24.10
Which installation method(s) does this occur on?
Docker
Describe the bug.
When trying to build the Morpheus Docker container using the
runtime
target, the build fails at thegit_clone
stage.The relevant line in the error log is the following:
I believe the issue is in Dockerfile lines 298-300. This command does a local clone from an existing cloned morpheus repo located at
MORPHEUS_ROOT_HOST
using the info in its.git/
directory. However, when morpheus is a submodule, the.git
file points to the relative path../../.git/modules/morpheus
, which doesn't get mounted to the container and therefore doesn't exist.Minimum reproducible example
From within the submodule root:
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
Relevant PR and comment:
Code of Conduct
The text was updated successfully, but these errors were encountered: