From 584239ceb586ab3336b33d667c6620e874455e51 Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Fri, 25 Aug 2023 15:49:07 -0700 Subject: [PATCH] CI: add comment about building locally (#29635) add comment about build --- selfdrive/test/docker_build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/selfdrive/test/docker_build.sh b/selfdrive/test/docker_build.sh index c9be11ffa7..cbbf8efe81 100755 --- a/selfdrive/test/docker_build.sh +++ b/selfdrive/test/docker_build.sh @@ -1,6 +1,10 @@ #!/bin/bash set -e +# To build sim and docs, you can run the following to mount the scons cache to the same place as in CI: +# mkdir -p .ci_cache/scons_cache +# sudo mount --bind /tmp/scons_cache/ .ci_cache/scons_cache + if [ $1 = "base" ]; then export DOCKER_IMAGE=openpilot-base export DOCKER_FILE=Dockerfile.openpilot_base