Skip to content

Commit 258794a

Browse files
committed
Add python and npm to Dockerfile.codespaces
1 parent 0e3907b commit 258794a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.devcontainer/Dockerfile.codespaces

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

.devcontainer/devcontainer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
32
"extensions": [
43
"rust-lang.rust-analyzer",
54
"bungcip.better-toml",
@@ -8,6 +7,10 @@
87
"ms-vscode.test-adapter-converter",
98
"slevesque.vscode-zipexplorer"
109
],
10+
"build": {
11+
// Path is relative to the devcontainer.json file.
12+
"dockerfile": "Dockerfile.codespaces"
13+
},
1114
"settings": {
1215
"files.watcherExclude": {
1316
"**/target/**": true

0 commit comments

Comments
 (0)