Commit Graph

6 Commits

Author SHA1 Message Date
Kacper Rączy
d15c2d951f devcontainer: use VirtualGL on mac hosts (#30090)
* Install virtualgl in a container

* Initialize virtualgl in bashrc

* Create virtual screen when starting

* Start vglclient on host

* Run Xvfb in separate tmux session to keep it running

* Add note about virtualGL in readme

* Add wget

* source vglrun

* Start xvfb only when forwarding x11

* Remove section about vglrun from readme

* HOST_DISPLAY implementation

* Add MOTD message instead of readme section
2023-09-29 17:45:06 -07:00
Kacper Rączy
3cf58e55eb devcontainer: fix rc files, move CARLA_HOST to json (#30047)
* Download rc files to batman home directory. Fix links

* Move CARLA_HOST to devcontainer.json

* Remove user root
2023-09-26 04:11:57 +02:00
Justin Newberry
021effc5ac Devcontainer: use "batman" user instead of root (#29704)
* devcontainer user

* cleanup permissions

* remove that

* remove that since it's not used

* clean that up after merge

* build base image first

* remove the pull

* build base image

* ensure we can pip install

* build base image as batman user

* add user uid

* add temporary comment about chown instruction
2023-09-25 10:36:54 -07:00
Justin Newberry
1f8ceb4ca1 Simulator: fix port issues in devcontainer (#29977)
* fix sim devcontainer

* use host.docker.internal instead

* devcontainer supports jsonc
2023-09-20 16:34:29 -07:00
Adeeb Shihadeh
66e5531c25 add tmux and vim config to dev container (#29967) 2023-09-18 19:32:27 -07:00
Robbe Derks
d71a7190f1 Devcontainer (#29259)
* mvp devcontainer. builds, runs and UI works

* fix indentation

* enable color and fix openpilot_env path

* separate dockerfile for devcontainer

* use prebuilt image

* Fix openpilot_env setup

* Add dev container section in readme

* Fix typo

* Fix typo again

* Move dev dockerfile to .devcontainer dir

* Update README

* Add note about x11 forwarding on macos

* Update dev container json

* Fix typo

* Override DISPLAY on macOS

* Mention XAUTHORITY for macOS setup in README

* fix typo

* Add devcontainer CI test

* Rename to devcontainer

* Fix git issues

* ripgrep

* Link instead of vscode manual

* Replace raw path with containerWorkspaceFolder

* Fix typo

* Remove dev tools workflow

* Link away X11 forwarding setup isntructions for mac

* Remove fork consrtaint, add test run of scons

* Add submodules as safe.directories in postStartCommand

* Remove openpilot_env references

* Add scons cache volume

---------

Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
2023-08-22 11:47:09 -07:00