mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
* automated -> hitl * simplify * jenkinsfile cleanup * cleanup * fix new linter errors * fix ws cleanup * some retry * more cleaning up after ourselves * unpin scons * bump opendbc * fix quotes * enable flaky * debug print Co-authored-by: Bruce Wayne <batman@comma.ai>
21 lines
526 B
Bash
Executable File
21 lines
526 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
OP_ROOT="$DIR/../../"
|
|
PANDA_ROOT="$DIR/../"
|
|
|
|
if [ -z "$BUILD" ]; then
|
|
docker pull docker.io/commaai/panda:latest
|
|
else
|
|
docker build --cache-from docker.io/commaai/panda:latest -t docker.io/commaai/panda:latest -f $PANDA_ROOT/Dockerfile $PANDA_ROOT
|
|
fi
|
|
|
|
docker run \
|
|
-it \
|
|
--rm \
|
|
--volume $OP_ROOT:$OP_ROOT \
|
|
--workdir $PWD \
|
|
--env PYTHONPATH=$OP_ROOT \
|
|
docker.io/commaai/panda:latest \
|
|
/bin/bash
|