Commit Graph

7 Commits

Author SHA1 Message Date
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 849b7de681
Move launch.json to .devcontainer and copy on start 2023-04-06 14:57:35 +00:00
Robin Windey 3f69e1232d
Move git safe.directory to earlier stage
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:06 +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 7f983cc549 Add initial support for GitHub codespaces
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 16:55:01 +00:00