@pseudoseed, are you by any chance attempting to make use of the docker-compose.yml dockerfile: instruction? We (balena) are in the process of implementing the ability to choose/specify Dockerfiles with the dockerfile:
instruction, but right now the feature is not supported. It should be available in the next few weeks. For what is currently supported, please follow the examples on this page:
There’s another forum thread that may be of interest: