Commit Graph

20 Commits (master)

Author SHA1 Message Date
Robin Windey 85f293c3ee
Update .devcontainer/Dockerfile
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Robin Windey <ro.windey@gmail.com>
2 days ago
Robin Windey af8d289427
Update devcontainer PHP deps to 8.3 and use ubuntu:noble
Signed-off-by: GitHub <noreply@github.com>
3 days ago
Rajeev Lochan Dash e64fee828c docs: added codespace link
Signed-off-by: Rajeev Lochan Dash <96860040+RajeevDash007@users.noreply.github.com>
2 months ago
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>
7 months ago
Robin Windey 849b7de681
Move launch.json to .devcontainer and copy on start 1 year ago
Robin Windey 296c9beff6
Enbale apcu in devcontainer CLI 1 year ago
Robin Windey 3f69e1232d
Move git safe.directory to earlier stage
Signed-off-by: GitHub <noreply@github.com>
1 year ago
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>
1 year ago
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>
1 year ago
Robin Windey 79fb336d35
Use ubuntu jammy and cleanup Dockerfile
Signed-off-by: GitHub <noreply@github.com>
1 year ago
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>
1 year ago
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.
1 year ago
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
1 year ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Konrad Abicht f987eaea10 corrected package name used in .devcontainer/Dockerfile (php7.4-acpu => php7.4-apcu)
Signed-off-by: Konrad Abicht <hi@inspirito.de>
3 years ago
Lukas Reschke 838c7005d3 Install more PHP modules by default
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke b68ff8df64 Hard-code SMTP configuration
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 7f983cc549 Add initial support for GitHub codespaces
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago