Robin Windey
9dd158b70d
Devcontainer: move git setup to postStartCommand
...
* postCreateCommand is executed too early
* If git config commands run in postCreate, a global .gitconfig will be created
* Copy of local .gitconfig will be skipped if .gitconfig already exists in container
* Move to later stage
* https://github.com/devcontainers/cli/issues/98
* https://github.com/microsoft/vscode-remote-release/issues/4855#issuecomment-831920085
Signed-off-by: GitHub <noreply@github.com>
2023-10-13 16:18:57 +00:00
Robin Windey
dfbd1fbe79
Dedicated DevContainer user + NVM
...
* Use dedicated DevContainer user to run Apache (ensure file permissions)
* Install NVM for node
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:05 +00:00
Robin Windey
a32e8db703
Minor DevContainer adjustments
...
* Add gnupg2 to be able to sign commits
* Make sure /var/www/html always belongs to www-data
* Add Git-History plugin
* Introduce dedicated entrypoint script
* Store Postgres database data in volume to be persistent
* Cleaner check if NC is already installed in setup.sh
* Add composer to DevContainer
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:04 +00:00
Robin Windey
16c14c059d
Minor improvements for devcontainer
...
* Autostart apache2
* Apply occ installation on start
* Autostart Xdebug on request
* Add DevContainer Xdebug profile
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:03 +00:00
Lukas Reschke
cecf319747
Disable basic PHP completion in Codespace
...
This competes with the completions provided by
https://github.com/felixfbecker/vscode-php-intellisense .
Thus disabling the completions is recommended.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-22 11:30:17 +00:00
Lukas Reschke
7f983cc549
Add initial support for GitHub codespaces
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 16:55:01 +00:00