mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 11:13:55 +08:00
build script that uses docker container (#1944)
This commit is contained in:
@@ -31,6 +31,7 @@ Setup
|
||||
1. Run `ubuntu_setup.sh` or `mac_setup.sh`, make sure everything completed correctly
|
||||
|
||||
2. Compile openpilot by running ```scons``` in the openpilot directory
|
||||
or alternatively run ```./openpilot_build.sh``` (uses a pre-configured docker container)
|
||||
|
||||
3. Try out some tools!
|
||||
|
||||
|
||||
1
tools/openpilot_build.sh
Normal file
1
tools/openpilot_build.sh
Normal file
@@ -0,0 +1 @@
|
||||
docker run --rm -v $(pwd):/tmp/openpilot -it commaai/openpilot bash -c 'cd /tmp/openpilot && scons -j$(nproc)'
|
||||
Reference in New Issue
Block a user