From c5b741d98fed4b04c1017f0ace3d6b6566ea7bba Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 16 Nov 2022 13:23:51 +0100 Subject: Experiment Development Containers / GitHub Codespaces (#4859) * Experiment Development Containers / GitHub Codespaces https://containers.dev/ https://github.com/features/codespaces * Fix tests --- .devcontainer/devcontainer.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .devcontainer/devcontainer.json (limited to '.devcontainer/devcontainer.json') diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..50318d75f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,37 @@ +// For format details, see https://aka.ms/devcontainer.json +{ + "name": "FreshRSS-dev-Alpine", + "build": { + "dockerfile": "Dockerfile" + }, + "extensions": [ + "bmewburn.vscode-intelephense-client", + "DavidAnson.vscode-markdownlint", + "dbaeumer.vscode-eslint", + "eamodio.gitlens", + "EditorConfig.EditorConfig", + "foxundermoon.shell-format", + "mrmlnc.vscode-apache", + "redhat.vscode-yaml", + "timonwong.shellcheck", + "ValeryanM.vscode-phpsab" + ], + "forwardPorts": [ + 8080 + ], + "portsAttributes": { + "8080": { + "label": "FreshRSS Apache", + "onAutoForward": "notify" + } + }, + "mounts": [ + { + "source": "vscode-freshrss-data", + "target": "/home/developer/freshrss-data", + "type": "volume" + } + ], + "remoteUser": "developer", + "postCreateCommand": "sudo .devcontainer/postCreateCommand.sh" +} -- cgit v1.2.3