1- // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2- // https://github.com/microsoft/vscode-dev-containers /tree/v0.191.1/containers /dotnet-fsharp
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 /dotnet-fsharp
33{
44 "name" : " F# (.NET)" ,
5- "build" : {
6- "dockerfile" : " Dockerfile" ,
7- "args" : {
8- "VERSION" : " 0.204.11" ,
9- "VARIANT" : " 7.0" ,
10- "NODE_VERSION" : " lts/*" ,
11- "PNPM_VERSION" : " ^8.0.0"
12- }
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm" ,
7+ // Features to add to the dev container. More info: https://containers.dev/features.
8+ "features" : {
9+ "ghcr.io/devcontainers/features/node:1" : {}
1310 },
11+ // Configure tool-specific properties.
1412 "customizations" : {
13+ // Configure properties specific to VS Code.
1514 "vscode" : {
16- // Set *default* container specific settings.json values on container create.
17- "settings" : {
18- "FSharp.dotnetRoot" : " /usr/bin"
19- },
2015 // Add the IDs of extensions you want installed when the container is created.
2116 "extensions" : [
2217 " editorconfig.editorconfig" ,
2318 " Ionide.Ionide-fsharp" ,
2419 " ms-dotnettools.csharp" ,
2520 " github.copilot"
26- ]
21+ ],
22+ "settings" : {
23+ "FSharp.dotnetRoot" : " /usr/bin"
24+ }
2725 }
2826 },
2927 // Use 'forwardPorts' to make a list of ports inside the container available locally.
3028 // "forwardPorts": [],
3129 // Use 'postCreateCommand' to run commands after the container is created.
32- "postCreateCommand" : " dotnet run restore"
33- }
30+ "postCreateCommand" : " .devcontainer/install_sass.sh" ,
31+ "postStartCommand" : " dotnet run restore"
32+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
33+ // "remoteUser": "root"
34+ }
0 commit comments