|
1 | 1 | { |
2 | 2 | "name": "Python Flask Development Container", |
3 | | - "image": "mcr.microsoft.com/devcontainers/universal:2", |
| 3 | + "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm", |
4 | 4 | "features": { |
5 | | - "ghcr.io/devcontainers/features/python:1": { |
6 | | - "version": "latest" |
7 | | - }, |
8 | | - "ghcr.io/devcontainers/features/github-cli:1": {} |
| 5 | + "ghcr.io/devcontainers/features/python:1": {} |
9 | 6 | }, |
10 | 7 | "hostRequirements": { |
11 | 8 | "cpus": 4 |
12 | 9 | }, |
13 | 10 | "waitFor": "onCreateCommand", |
14 | | - "updateContentCommand": "pip install -r requirements.txt", |
15 | | - "postCreateCommand": "", // You can add setup scripts here if needed |
| 11 | + "updateContentCommand": "", |
| 12 | + "postCreateCommand": "pip install -r requirements.txt && apt-get clean && rm -rf /root/.cache/pip", |
16 | 13 | "postStartCommand": "", // For commands to run each Codespace start |
17 | 14 | "customizations": { |
18 | 15 | "vscode": { |
|
39 | 36 | "chat.agent.enabled": false |
40 | 37 | }, |
41 | 38 | "extensions": [ |
42 | | - "ms-python.black-formatter", |
43 | | - "McCarter.start-git-bash", |
44 | | - "ms-python.python", |
| 39 | + "bierner.markdown-mermaid", |
| 40 | + "bierner.markdown-preview-github-styles", |
45 | 41 | "esbenp.prettier-vscode", |
46 | | - "oderwat.indent-rainbow", |
47 | | - "tomoki1207.pdf", |
48 | 42 | "GitHub.codespaces", |
49 | | - "ms-python.debugpy", |
50 | | - "yahyabatulu.vscode-markdown-alert", |
51 | | - "bierner.markdown-preview-github-styles", |
| 43 | + "mathematic.vscode-pdf", |
| 44 | + "McCarter.start-git-bash", |
52 | 45 | "mechatroner.rainbow-csv", |
| 46 | + "ms-python.black-formatter", |
| 47 | + "ms-python.debugpy", |
53 | 48 | "ms-python.pylint", |
54 | | - "bierner.markdown-mermaid" |
| 49 | + "ms-python.python", |
| 50 | + "oderwat.indent-rainbow", |
| 51 | + "yahyabatulu.vscode-markdown-alert", |
| 52 | + "oderwat.indent-rainbow", |
| 53 | + "streetsidesoftware.code-spell-checker", |
| 54 | + "tal7aouy.icons", |
| 55 | + "yahyabatulu.vscode-markdown-alert", |
| 56 | + "yy0931.vscode-sqlite3-editor" |
55 | 57 | ] |
56 | 58 | } |
57 | 59 | }, |
|
0 commit comments