build script that uses docker container (#1944)

pull/2107/head
Greg Hogan 5 years ago committed by GitHub
parent 76a5ad3a5f
commit e4720eb798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      tools/README.md
  2. 1
      tools/openpilot_build.sh

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

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