mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-14 05:42:13 +08:00
Simulator: fix port issues in devcontainer (#29977)
* fix sim devcontainer * use host.docker.internal instead * devcontainer supports jsonc old-commit-hash: 1f8ceb4ca15b2aa71d88e74c7df54519ed5968e9
This commit is contained in:
@@ -9,3 +9,5 @@ RUN pip install ipython jupyter jupyterlab
|
||||
RUN cd $HOME && \
|
||||
curl -O https://raw.githubusercontent.com/commaai/agnos-builder/master/userspace/home/.tmux.conf && \
|
||||
curl -O https://github.com/commaai/agnos-builder/blob/master/userspace/home/.vimrc
|
||||
|
||||
ENV CARLA_HOST="host.docker.internal"
|
||||
@@ -18,7 +18,8 @@
|
||||
"--volume=${localEnv:HOME}/.comma:/root/.comma",
|
||||
"--volume=/tmp/comma_download_cache:/tmp/comma_download_cache",
|
||||
"--volume=/tmp/devcontainer_scons_cache:/tmp/scons_cache",
|
||||
"--shm-size=1G"
|
||||
"--shm-size=1G",
|
||||
"--add-host=host.docker.internal:host-gateway" // required to use host.docker.internal on linux
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
||||
Reference in New Issue
Block a user