Rajeev Lochan Dash
e64fee828c
docs: added codespace link
...
Signed-off-by: Rajeev Lochan Dash <96860040+RajeevDash007@users.noreply.github.com>
2024-03-18 15:41:41 +01:00
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
296c9beff6
Enbale apcu in devcontainer CLI
2023-04-04 16:37:39 +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
79fb336d35
Use ubuntu jammy and cleanup Dockerfile
...
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
Stephan
81df7d636e
Proposed change to in-build docker-compose.yml and Dockerfile. The current implementation uses php 7.4, which is no longer compatible with the required PHP version of the server. I upped this to PHP 8.1
...
List of changes:
- Upped PHP Version to 8.1
- Added Apache Webserver so the Container works "out of the box" after docker-compose up -d
- Mounting whole project as volume to /var/www/html in docker-compose.yml (and set WORKDIR to /var/www/html)
Tested in a Docker for Windows environment.
2023-03-31 13:38:26 +00:00
Robin Windey
0776f84947
Fix devcontainer url
...
See also:
* https://github.com/community/community/discussions/5104#discussioncomment-2217052
* https://docs.github.com/en/codespaces/developing-in-codespaces/default-environment-variables-for-your-codespace#list-of-default-environment-variables
2022-11-14 15:40:04 +00:00
Lukas Reschke
1e08cd353b
Add npm/nodejs/make to .devcontainer
...
This is required to build some apps such as the spreed app.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06 11:35:00 +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
4dd25f8de8
Set overwriteprotocol to HTTPS in Codespace
...
Codespace is serving everything only as HTTPS. To keep the URLs valid, we also need to overwrite the protocol. (otherwise e.g. you can't develop the SAML app as the URLs are invalid)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-15 16:48:39 +01:00
Konrad Abicht
f987eaea10
corrected package name used in .devcontainer/Dockerfile (php7.4-acpu => php7.4-apcu)
...
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-09 13:52:52 +01:00
Lukas Reschke
838c7005d3
Install more PHP modules by default
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 17:16:29 +00:00
Lukas Reschke
b68ff8df64
Hard-code SMTP configuration
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 17:08:42 +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