raven icon indicating copy to clipboard operation
raven copied to clipboard

Docker image is supported

Open doskoi opened this issue 5 years ago • 5 comments

I have created a docker image that can easily to setup build environment, the repo is here: https://github.com/doskoi/RavenLRS

It has been tested on Docker CE on macOS Mojave and Windows 10 Pro, Linux Mint 19 (apt install docker.io)

You can have some tests, and put this in README to help users to use raven. or fork this into your project.

doskoi avatar Dec 13 '18 00:12 doskoi

@fiam You can use docker image as same as inav to put a build.sh in project, the script is accpet build target as parameter to passthrough to the make CLI.

doskoi avatar Jan 08 '19 16:01 doskoi

@doskoi This is definitely very nice. Would you like to submit a PR or would you prefer that I link to your repo from the README?

fiam avatar Jan 08 '19 18:01 fiam

Sure, I will send a PR with build script for build firmware with docker, and feel free to update README for advanced usage. Like flashing, monitor, use git to update repo. The examples already in my README.

doskoi avatar Jan 09 '19 05:01 doskoi

Well, because the Dockerfile is included clone raven operation, so if I want to use it inside the raven folder, I need to make some changes.

doskoi avatar Jan 10 '19 02:01 doskoi

I've made the update and tested, now it works via build.sh in raven folder or initialize project via docker commands in empty folder.

Pull request: https://github.com/RavenLRS/raven/pull/40

doskoi avatar Jan 13 '19 03:01 doskoi