My project uses a symlink for the
Dockerfile.template which references which of the two Dockerfiles can be used. One builds the application from source, the other installs it from a binary. They are called
Dockerfile.template is a relative symlink to one of these.
balena push or
git push deploys the application correctly, whereas the Balena Deploy method does not and fails in the following manner, it does not see the symlink.
[Info] Starting build for streamyard, user gh_matthewcroughan [Info] Dashboard link: https://dashboard.balena-cloud.com/apps/1683882/devices [Info] Building on arm01 [Info] Pulling previous images for caching purposes... [Success] Successfully pulled cache images [Info] Starting to build traefik [Info] Starting to build octodash [Info] Starting to build mdns-publisher [Info] Starting to build octoprint [Success] Successfully built service mdns-publisher [Success] Successfully built service traefik [Success] Successfully built service octoprint [Info] Uploading images [Success] Successfully uploaded images [Error] Some services failed to build: [Error] Service: octodash [Error] Error: the Dockerfile (Dockerfile) cannot be empty [Info] Built on arm01 [Error] Not deploying release.