Open shasderias opened 2 years ago
As a workaround, I tried putting docker-compose.yml in .dockerignore.
Unfortunately, this does not work, most likely due to the default/hardcoded .dockerignore patterns:
https://www.balena.io/docs/reference/balena-cli/#push-fleetordevice
Expected Behavior
Running
balena push
with the--dockerfile
flag should build with the specified Dockerfile even if there is a docker-compose.yml in the root of the source directory.Actual Behavior
balena-cli tries to use docker-compose.yml, ignoring the
--dockerfile
flag.Steps to Reproduce the Problem
This is the most important and helpful part of a bug report. If we cannot reproduce the problem, it is difficult to tell what the fix should be, or whether code changes have fixed it.
(the build failure is expected, just trying to show that the presence of docker-compose.yml forces the build to use it)
Specifications
scoop install balena-cli
Additional References
N/A