|
| 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 |
| 3 | +{ |
| 4 | + "name": "AccountGo (.NET)", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/dotnet:0-7.0-bullseye", |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/azure-cli:1": {}, |
| 9 | + "ghcr.io/devcontainers/features/git:1": {}, |
| 10 | + "ghcr.io/dhoeric/features/google-cloud-cli:1": {}, |
| 11 | + "ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}, |
| 12 | + "ghcr.io/devcontainers/features/docker-in-docker:1": { |
| 13 | + "version": "latest", |
| 14 | + "moby": true |
| 15 | + }, |
| 16 | + "ghcr.io/devcontainers/features/node:1": {} |
| 17 | + } |
| 18 | + |
| 19 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 20 | + // "features": {}, |
| 21 | + |
| 22 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 23 | + // "forwardPorts": [5000, 5001], |
| 24 | + // "portsAttributes": { |
| 25 | + // "5001": { |
| 26 | + // "protocol": "https" |
| 27 | + // } |
| 28 | + // } |
| 29 | + |
| 30 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 31 | + // "postCreateCommand": "dotnet restore", |
| 32 | + |
| 33 | + // Configure tool-specific properties. |
| 34 | + // "customizations": {}, |
| 35 | + |
| 36 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 37 | + // "remoteUser": "root" |
| 38 | +} |
0 commit comments