Devcontainer: improve CI tests and support using local built image (#30012)

* improve devcontainer tests

* test full build with cache

* fix that

* fix the cache

* fix the cache
old-commit-hash: 003018fc468c3a0a902160413ea5f5d434a987b9
This commit is contained in:
Justin Newberry
2023-09-24 17:24:44 -07:00
committed by GitHub
parent 66cec633f9
commit fc69b28f7e
2 changed files with 16 additions and 3 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
# pull base image
docker pull ghcr.io/commaai/openpilot-base:latest
if [[ -z $USE_LOCAL_IMAGE ]]; then
docker pull ghcr.io/commaai/openpilot-base:latest
fi
# setup .host dir
mkdir -p .devcontainer/.host