RavenLRS / raven

Raven Long Range System
GNU General Public License v3.0
165 stars 45 forks source link

Docker image is supported #19

Open doskoi opened 5 years ago

doskoi commented 5 years ago

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 commented 5 years ago

@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.

fiam commented 5 years ago

@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?

doskoi commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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