Closed simonsudler closed 5 years ago
It's needed to mount the repo, and only the repo. And only read-only. When you just specify an absolute path to a kas yml file, it's unclear where that repo start.
Can we follow-up the discussion on kas-devel@googlegroups.com?
When trying to build a isar based project, I noticed, that
kas-docker
has a problem with git submodules.When executing the same
kas-docker
build in a "normal" git repository, everything works fine. Executing the command in a git submodule fails to detect the proper git-root:git rev-parse --show-toplevel
command cannot work with reverence in the.git
file, since the top-level repository is not mounted inside the docker container.Why does
kas
require thegit rev-parse --show-toplevel
in the project root folder? It seems unnecessary for proper cloning of the meta-layers defined in the kas-file.