Add python and npm to Dockerfile.codespaces

This commit is contained in:
Óscar San José
2025-03-17 12:37:47 +01:00
parent 0e3907b2a8
commit 258794a57e
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
USER root
RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y sudo man-db python3.12 npm unminimize
RUN yes | unminimize

View File

@@ -1,5 +1,4 @@
{ {
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"extensions": [ "extensions": [
"rust-lang.rust-analyzer", "rust-lang.rust-analyzer",
"bungcip.better-toml", "bungcip.better-toml",
@@ -8,6 +7,10 @@
"ms-vscode.test-adapter-converter", "ms-vscode.test-adapter-converter",
"slevesque.vscode-zipexplorer" "slevesque.vscode-zipexplorer"
], ],
"build": {
// Path is relative to the devcontainer.json file.
"dockerfile": "Dockerfile.codespaces"
},
"settings": { "settings": {
"files.watcherExclude": { "files.watcherExclude": {
"**/target/**": true "**/target/**": true