build script that uses docker container (#1944)

This commit is contained in:
Greg Hogan
2020-08-30 17:02:36 -07:00
committed by GitHub
parent 76a5ad3a5f
commit e4720eb798
2 changed files with 2 additions and 0 deletions

View File

@@ -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
View File

@@ -0,0 +1 @@
docker run --rm -v $(pwd):/tmp/openpilot -it commaai/openpilot bash -c 'cd /tmp/openpilot && scons -j$(nproc)'