We have a dependency in a multi-container docker-compose.yml on a github repo, which seems to not work on balena build? Is this not supported? I couldn’t find documentation on this, but it is supported by version 2 of docker-compose. The dependency is for logspout and the docker-compose.yml lines look like this:
logspout:
build:
context: https://github.com/notnamed/logspout.git#master
dockerfile: Dockerfile.template
command: 'syslog+tls://logs34.papertrailapp.com:11168'
labels:
io.balena.features.balena-socket: '1'
The output from the build says this, seems like it doesn’t attempt to do the git checkout?
Enumerating objects: 3060, done.
Counting objects: 100% (3025/3025), done.
Delta compression using up to 8 threads
Compressing objects: 100% (924/924), done.
Writing objects: 100% (2984/2984), 7.31 MiB | 900.00 KiB/s, done.
Total 2984 (delta 1860), reused 2910 (delta 1795)
remote: Resolving deltas: 100% (1860/1860), completed with 30 local objects.
[Info] Starting build for playground, user jt
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/xxxx/devices
[Error] Could not detect project type: Service logspout: Specified file not found or is invalid: Dockerfile.template
[Error] Not deploying release.
remote: error: hook declined to update refs/heads/master