Skip to content

Commit 10130f8

Browse files
committed
add Docker in README.md
1 parent e01f7eb commit 10130f8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,17 @@ If you have custom hardware and you want to add support for it in the official r
3131
1) Go to https://github.com/vedderb/bldc and use the github fork function.
3232
2) Make your changes, test them and make a pull request to the main repository.
3333
3) If the pull request gets accepted your hardware will become part of the next official release. It will show up in the binary beta typically after a few days and in the stable version the next time a stable release is made.
34+
35+
## How to Build the Docker Image
36+
37+
# tested only Linux
38+
39+
docker build . -t vesc_tool
40+
41+
# run bach
42+
43+
docker run --rm -it -v `pwd`:/vesc_tool vesc_tool:latest bash
44+
45+
# or build in docker
46+
47+
docker run --rm -it -v `pwd`:/vesc_tool vesc_tool:latest /vesc_tool/build_lin

0 commit comments

Comments
 (0)