Just to ensure we’re talking about the same thing, you’re trying a balena push to our builders, correct?
As long as the submodule has been correctly cloned (via for example a --recursive clone of your main project) and is present in the local directory, then this should be sent to our Builder to build. Just to check, the balena-pihole submodule is definitely cloned and present?
If this is the case, please let us know and we’ll try and reproduce the issue here.
Yes, I am performing a balena push to your builders. I just realized, that I redefined the volumes property. It is part of the pihole property. I will remove it when I am at home and try again.
The submodule is correctly cloned, it has no sub-submodules, but I will double check it when I am at home.
@idoodler my suspicion here is that you’re expecting balena-pihole to build as a submodule as it stands, which it will not as the project does not have a Dockerfile in the root directory. You can try changing your docker-compose.yml file to include the pihole section from the balena-pihole/docker-compose.yml and updating the build directory to ./balena-pihole/pihole. You’ll also need to keep the volumes, something like this:
This is the solution. I thought its possible to just link togeather the services and the linked services basically just get merged into the root docker-composer.yml.