|
1 | 1 | // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: |
2 | 2 | { |
3 | | - "name": "F# (.NET 8)", |
4 | | - "build": { |
5 | | - "dockerfile": "Dockerfile", |
6 | | - "args": { |
7 | | - // Update 'VARIANT' to pick a .NET Core version: 3.1, 5.0, 6.0, 7.0, 8.0, etc. |
8 | | - // Append -bullseye(-slim), -focal, or -jammy to pin to an OS version. |
9 | | - "VARIANT": "8.0.100-rc.1-bookworm-slim-amd64" |
10 | | - } |
| 3 | + "name": "F#", |
| 4 | + "image": "mcr.microsoft.com/dotnet/sdk:8.0.100-rc.1", |
| 5 | + "features": { |
| 6 | + "ghcr.io/devcontainers/features/common-utils:2": {}, |
| 7 | + "ghcr.io/devcontainers/features/git:1": {}, |
| 8 | + "ghcr.io/devcontainers/features/github-cli:1": { |
| 9 | + "version": "2" |
| 10 | + }, |
| 11 | + "ghcr.io/devcontainers/features/dotnet:2": {} |
11 | 12 | }, |
12 | 13 | "hostRequirements": { |
13 | 14 | "cpus": 2, |
|
18 | 19 | "vscode": { |
19 | 20 | // Add the IDs of extensions you want installed when the container is created. |
20 | 21 | "extensions": [ |
| 22 | + "GitHub.copilot", |
| 23 | + "GitHub.vscode-github-actions", |
| 24 | + "ms-dotnettools.vscode-dotnet-runtime", |
| 25 | + "ms-dotnettools.csdevkit", |
21 | 26 | "ms-dotnettools.csharp", |
22 | 27 | "Ionide.Ionide-fsharp", |
23 | 28 | "tintoy.msbuild-project-tools" |
24 | 29 | ] |
25 | 30 | } |
26 | 31 | }, |
27 | | - |
28 | | - "onCreateCommand": [ "dotnet", "build", "FSharp.Compiler.Service.sln"], |
29 | | - "waitFor": "onCreateCommand" |
| 32 | + "remoteEnv": { |
| 33 | + "TARGET": "net8.0" |
| 34 | + }, |
| 35 | + "postCreateCommand": [ "dotnet", "build", "FSharp.Compiler.Service.sln"] |
30 | 36 | } |
0 commit comments