Commit Graph

16 Commits

Author SHA1 Message Date
Justin Newberry
c8f729761e devcontainer: passthrough .azure (#32228)
azure
2024-04-16 17:40:53 -07:00
Justin Newberry
0efb62c11c devcontainer: add gh and azure cli (#31859)
* add ghcli

* nosudo

* nl

* fix

* remove

* link to the install page

* it's already a feature :)

* fix + add azure

* no diff

* Update Dockerfile
2024-03-13 11:40:26 -07:00
Justin Newberry
7ec83c42f8 devcontainer improvements (#31650) 2024-02-29 14:14:24 -08:00
Justin Newberry
11ec5bf25e Simulator: remove carla (#30690)
* no carla

* no arg and stylize metadrive
2023-12-11 20:38:37 -08:00
Justin Newberry
d00832cb2b Devcontainer: initial windows support (#30168)
* windows support

* windows support
2023-10-04 14:58:21 -07:00
Kacper Rączy
481f18710e devcontainer: expose zmq ports for bridging (#30072)
* Expose ZMQ ports for bridging

* Limit ports to 8070-8079
2023-09-29 23:40:11 +02:00
Justin Newberry
fb89a2a6dd Devcontainer: run setup as batman user (#30084) 2023-09-27 23:40:02 -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
Kacper Rączy
c054b665c2 devcontainer: force 256 color support in shell (#30045)
Hard-code 256 color support
2023-09-26 01:53:53 +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
Kacper Rączy
dd26a1faad devcontainer: expose host config, fix mac screen issues (#29932)
* export host config via .host/.env file. fix mac display issues

* append instead of replace for bashrc

* Log when mac display override happens

* Update xauthority path in json
2023-09-15 23:00:24 +02:00
Justin Newberry
4e69937d0d Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Justin Newberry
82ea2c5688 Devcontainer: add recommended extensions (#29703)
* add recommended extensions

* add cython and jupter
2023-08-29 15:05:17 -07:00
Kacper Rączy
659795b1db devcontainer: handle hosts without X11 (#29537)
* Setup xauthority link on host in initializeCommand

* Create a dummy xauthority if it does no exist on host machine

* Remove xauthority line from ci test
2023-08-23 10:26:38 -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