Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to build image. #21

Open
sindre-L opened this issue Feb 15, 2021 · 3 comments
Open

Not able to build image. #21

sindre-L opened this issue Feb 15, 2021 · 3 comments
Labels

Comments

@sindre-L
Copy link

sindre-L commented Feb 15, 2021

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

@mikeller
Copy link
Member

@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

@sindre-L
Copy link
Author

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

@stale
Copy link

stale bot commented Apr 17, 2022

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 stale bot added the Inactive label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants