nopenpilot/tools/sim/build_container.sh

11 lines
280 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../../
docker pull ghcr.io/commaai/openpilot-base:latest
docker build \
--cache-from ghcr.io/commaai/openpilot-sim:latest \
-t ghcr.io/commaai/openpilot-sim:latest \
-f tools/sim/Dockerfile.sim .