docker-betaflight-build icon indicating copy to clipboard operation
docker-betaflight-build copied to clipboard

Not able to build image.

Open sindre-L opened this issue 4 years ago • 3 comments

Hey, I have tried for som time no to make the build with docker. I have the repository local, in the file path C:/Users/sindr/betaflight

here is my result from cmd; C:\Users\sindr\betaflight>docker run --rm -it -v "c:/users/sindr/betaflight" betaflight/betaflight-build /bin/sh: 1: [: =: unexpected operator /bin/sh: 1: [: =: unexpected operator /bin/sh: 1: [: =: unexpected operator /bin/sh: 1: [: =: unexpected operator /bin/sh: 1: [: =: unexpected operator make: *** No rule to make target 'clean'. Stop. make: *** No targets specified and no makefile found. Stop.

C:\Users\sindr\betaflight>docker pull c:\users\sindr\betaflight invalid reference format

I have tried the file path with and without "", and build it from dub-directories. Have not found any solutions on the Web...

Worth mentioning I'm new to Docker, and followed "Building Betaflight w/ Docker + 4.0 F3 Performance HEX files" from UAV tech guide

sindre-L avatar Feb 15 '21 22:02 sindre-L

@jallafish: Using docker on Windows to build Betaflight is not the recommended way for most versions of Windows, as it is less flexible than using WSL, which is available these days for most versions of Windows. Have a look at this: https://github.com/betaflight/betaflight/wiki/Building-Betaflight-on-Windows,-the-Linux-subsystem-way#installing-the-linux-subsystem

mikeller avatar Feb 16 '21 18:02 mikeller

Ok, thanks, will give that a try one of the next days.

sindre-L avatar Feb 16 '21 19:02 sindre-L

This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

stale[bot] avatar Apr 17 '22 06:04 stale[bot]