Open Welding-Torch opened 11 months ago
devcontainer.json
(Suggested Code)Learn Development Containers: https://containers.dev/ Development Container For Ruby: https://github.com/devcontainers/images/tree/main/src/ruby
devcontainer.json
{
"image": "mcr.microsoft.com/devcontainers/ruby",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"asciidoctor.asciidoctor-vscode",
"mikestead.dotenv",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker"
]
}
},
"postCreateCommand": "sh postCreateCommand.sh",
"forwardPorts": [5000]
}
postCreateCommand.sh
gem install asciidoctor
cp sample.env .env
npm install
exit
Issue Description
I propose adding a
devcontainer.json
file to the Our Tech Community repository. This file will enable developers to set up a consistent development environment quickly using GitHub Codespaces or other similar services.Why is this needed?
A
devcontainer.json
file:Proposed Changes
devcontainer
directory in the root of the repository.devcontainer.json
file to thedevcontainer
directory, specifying the necessary development environment setup.Additional Information
.gitpod.yml
file that mentions the dependencies. But thedevcontainer.json
format is more widely used and is supported by more platforms.🤍 Thank you, OTC.