aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Curtis <43214378+simon-curtis@users.noreply.github.com>2024-03-26 15:14:31 +0000
committerLouis Pilfold <louis@lpil.uk>2024-04-03 15:41:19 +0100
commita1d26bafbe59981b69770b8b9a8bca02b1b73aff (patch)
treef19183ac5e4874ae54b2d5759d745fc830962042
parent48934416c3b924c5ae0e7dacc58c7e162b4dad8b (diff)
downloadtour-a1d26bafbe59981b69770b8b9a8bca02b1b73aff.tar.gz
tour-a1d26bafbe59981b69770b8b9a8bca02b1b73aff.zip
Setup Codespaces devcontainer
-rw-r--r--.devcontainer/devcontainer.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..1c06a53
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -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"
+} \ No newline at end of file