Skip to content

Commit

Permalink
Setup Codespaces devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-curtis authored and lpil committed Apr 3, 2024
1 parent 4893441 commit a1d26ba
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
{
"name": "Alpine",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:alpine-3.19",
"features": {
"ghcr.io/devcontainers-contrib/features/gleam:1": {},
"ghcr.io/cirolosapio/devcontainers-features/alpine-node:0": {},
"ghcr.io/devcontainers-contrib/features/http-server:1": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": ". bin/download-compiler",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"gleam.gleam"
]
},
"codespaces": {
"openFiles": [
"README.md"
]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit a1d26ba

Please sign in to comment.