Skip to content

Commit

Permalink
Add "MVP" devcontainer configuration
Browse files Browse the repository at this point in the history
Set up a basic Ruby devcontainer with all necessary dependencies,
allowing users to run the Middleman app locally without needing anything
set up locally other than Docker and a devcontainer tooling (such as
through a supported editor like Visual Studio Code, or a cloud
development environment like Github Codespaces).

Includes the Node.js feature (as Middleman depends on having a
Javascript engine installed).
  • Loading branch information
csutter committed Oct 16, 2023
1 parent 4660e45 commit fd42520
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
{
"name": "GOV.UK Developer Docs",
"image": "ruby:3.1.1",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "lts",
"nvmVersion": "latest"
}
},
"forwardPorts": [4567],
"postCreateCommand": "bundle install"
}

0 comments on commit fd42520

Please sign in to comment.