Skip to content

Commit afa69db

Browse files
committed
re-add devcontainers lol
1 parent 0fa2557 commit afa69db

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

.devcontainer/devcontainer-lock.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers-extra/features/asdf-package:1": {
4+
"version": "1.0.8",
5+
"resolved": "ghcr.io/devcontainers-extra/features/asdf-package@sha256:7af00630eaeeb3a42fcf91daccf71a8314d0106b2ee4d5b6a6b5bc17c037715e",
6+
"integrity": "sha256:7af00630eaeeb3a42fcf91daccf71a8314d0106b2ee4d5b6a6b5bc17c037715e"
7+
},
8+
"ghcr.io/devcontainers/features/github-cli:1": {
9+
"version": "1.0.13",
10+
"resolved": "ghcr.io/devcontainers/features/github-cli@sha256:13b301a039ce9e0bb07d45ea0c106c946cfff01c3b9844bbec6b0c7bacba8de3",
11+
"integrity": "sha256:13b301a039ce9e0bb07d45ea0c106c946cfff01c3b9844bbec6b0c7bacba8de3"
12+
},
13+
"ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": {
14+
"version": "1.0.3",
15+
"resolved": "ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence@sha256:757843d75915f140ec22bc16ccb5e657a910d9b1d1f445d15350a78e584d130f",
16+
"integrity": "sha256:757843d75915f140ec22bc16ccb5e657a910d9b1d1f445d15350a78e584d130f"
17+
},
18+
"ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": {
19+
"version": "1.0.2",
20+
"resolved": "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store@sha256:32f78bc711aecc2b1479143a4412461b4075c61f0d4776e74265890099a3c7f6",
21+
"integrity": "sha256:32f78bc711aecc2b1479143a4412461b4075c61f0d4776e74265890099a3c7f6"
22+
}
23+
}
24+
}

.devcontainer/devcontainer.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
3+
{
4+
"name": "Node.js",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
7+
"features": {
8+
"ghcr.io/devcontainers-extra/features/asdf-package:1": {},
9+
"ghcr.io/devcontainers/features/github-cli:1": {},
10+
"ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": {},
11+
"ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": {}
12+
},
13+
"customizations": {
14+
"vscode": {
15+
"extensions": [
16+
"elmTooling.elm-ls-vscode"
17+
],
18+
"settings": {
19+
"elmLS.elmPath": "lamdera",
20+
"elmLS.onlyUpdateDiagnosticsOnSave": true
21+
}
22+
}
23+
},
24+
25+
// Features to add to the dev container. More info: https://containers.dev/features.
26+
// "features": {},
27+
28+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
29+
"forwardPorts": [1234, 3000],
30+
31+
// Use 'postCreateCommand' to run commands after the container is created.
32+
// "postCreateCommand": "yarn install",
33+
34+
// Configure tool-specific properties.
35+
// "customizations": {},
36+
37+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+
// "remoteUser": "root"
39+
}

0 commit comments

Comments
 (0)