Devcontainer: initial windows support (#30168)

* windows support

* windows support
old-commit-hash: d00832cb2b
laptop
Justin Newberry 2 years ago committed by GitHub
parent c33f68047b
commit 63e4823467
  1. 2
      .devcontainer/devcontainer.json
  2. 0
      .devcontainer/host_setup
  3. 10
      .devcontainer/host_setup.cmd

@ -5,7 +5,7 @@
},
"postCreateCommand": ".devcontainer/container_post_create.sh",
"postStartCommand": ".devcontainer/container_post_start.sh",
"initializeCommand": ".devcontainer/host_setup.sh",
"initializeCommand": [".devcontainer/host_setup"],
"privileged": true,
"containerEnv": {
"DISPLAY": "${localEnv:DISPLAY}",

@ -0,0 +1,10 @@
:: pull base image
IF NOT DEFINED USE_LOCAL_IMAGE ^
echo "Updating openpilot_base image if needed..." && ^
docker pull ghcr.io/commaai/openpilot-base:latest
:: setup .host dir
mkdir .devcontainer\.host
:: setup host env file
echo "" > .devcontainer\.host\.env
Loading…
Cancel
Save