Files
StarPilot/tools/sim/build_container.sh
T
wolterhv dfb437648e Specify comma containers come from ghcr.io in docker pull commands. (#20342)
old-commit-hash: 5463469f71e7861ccfbbd4d09b8e4ae56b8d3e45
2021-03-14 12:59:05 -07:00

11 lines
264 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 commaai/openpilot-sim:latest \
-t commaai/openpilot-sim:latest \
-f tools/sim/Dockerfile.sim .