Skip to content

Commit ad62150

Browse files
committed
Use mamba-org's micromamba dev container feature in codespaces
1 parent a641ddc commit ad62150

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

.devcontainer/devcontainer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,19 @@
88
"ghcr.io/devcontainers/features/desktop-lite:1": {},
99
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
1010
"packages": "inkscape,ffmpeg,dvipng,lmodern,cm-super,texlive-latex-base,texlive-latex-extra,texlive-fonts-recommended,texlive-latex-recommended,texlive-pictures,texlive-xetex,fonts-wqy-zenhei,graphviz,fonts-crosextra-carlito,fonts-freefont-otf,fonts-comic-neue,fonts-noto-cjk,optipng"
11+
},
12+
"ghcr.io/mamba-org/devcontainer-features/micromamba:1": {
13+
"envFile": "/tmp/environment.yml"
1114
}
1215
},
13-
"onCreateCommand": ".devcontainer/setup.sh",
14-
"postCreateCommand": "",
1516
"forwardPorts": [6080],
17+
"mounts": [
18+
{
19+
"source": "${localWorkspaceFolder}/environment.yml",
20+
"target": "/tmp/environment.yml",
21+
"type": "bind"
22+
}
23+
],
1624
"portsAttributes": {
1725
"6080": {
1826
"label": "desktop"

.devcontainer/setup.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)