|
1 | 1 | // Credits - https://github.com/hitsumabushi845/MkDocs-with-Remote-Containers |
2 | 2 | { |
3 | | - "name": "Material for MkDocs", |
| 3 | + "name": "Testcontainers Native Development", |
4 | 4 | "dockerFile": "Dockerfile", |
| 5 | + "features": { |
| 6 | + "ghcr.io/devcontainers/features/docker-in-docker:2.12.4": { |
| 7 | + "version": "latest", |
| 8 | + "moby": true |
| 9 | + } |
| 10 | + }, |
5 | 11 | "customizations": { |
6 | 12 | "vscode": { |
7 | 13 | // Set *default* container specific settings.json values on container create. |
|
11 | 17 | }, |
12 | 18 | // Add the IDs of extensions you want installed when the container is created. |
13 | 19 | "extensions": [ |
| 20 | + // C/C++ development |
| 21 | + "ms-vscode.cmake-tools", |
| 22 | + "ms-vscode.makefile-tools", |
| 23 | + "ms-vscode.cpptools-extension-pack", |
| 24 | + "ms-azuretools.vscode-docker", |
| 25 | + // Golang development |
| 26 | + "golang.go", |
| 27 | + // Generic site and documentation development |
| 28 | + "streetsidesoftware.code-spell-checker", |
14 | 29 | "yzhang.markdown-all-in-one", |
15 | 30 | "redhat.vscode-yaml", |
16 | 31 | "shardulm94.trailing-spaces", |
|
23 | 38 | "forwardPorts": [ |
24 | 39 | 8000 |
25 | 40 | ], |
26 | | - // Use 'postCreateCommand' to run commands after the container is created. |
27 | | - "postCreateCommand": "pip3 install -r .devcontainer/requirements.txt " |
28 | | - // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. |
29 | | - //"remoteUser": "vscode" |
| 41 | + "remoteUser": "vscode", |
| 42 | + // Updates cache on new container runs |
| 43 | + "postCreateCommand": "pip3 install -r .devcontainer/requirements.txt", |
| 44 | + // "overrideCommand": false |
30 | 45 | } |
0 commit comments