mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 07:43:57 +08:00
* unlogger: send yuv stream
* fix up model test tools
* fix unlogger
* rename model replay
* bump cereal
* test in actions
* no ci for now
old-commit-hash: cf6d133638
20 lines
534 B
Bash
Executable File
20 lines
534 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
OP_ROOT="$DIR/../../"
|
|
|
|
if [ -z "$BUILD" ]; then
|
|
docker pull ghcr.io/commaai/openpilot-base:latest
|
|
else
|
|
docker build --cache-from ghcr.io/commaai/openpilot-base:latest -t ghcr.io/commaai/openpilot-base:latest -f $OP_ROOT/Dockerfile.openpilot_base .
|
|
fi
|
|
|
|
docker run \
|
|
-it \
|
|
--rm \
|
|
--volume $OP_ROOT:$OP_ROOT \
|
|
--workdir $PWD \
|
|
--env PYTHONPATH=$OP_ROOT \
|
|
ghcr.io/commaai/openpilot-base:latest \
|
|
/bin/bash
|