We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cd334d commit a8f7c83Copy full SHA for a8f7c83
1 file changed
.devcontainer/setup.sh
@@ -1,8 +1,7 @@
1
#!/bin/bash
2
3
echo 'Please wait for setup to finish ...'
4
-
5
- micromamba shell init --shell bash --root-prefix=~/micromamba
+eval "$(micromamba shell hook --shell bash)"
6
7
# get repo
8
@@ -21,27 +20,10 @@ else
21
20
22
fi
23
24
-# install python
25
26
-if [ "$(whoami)" = "root" ];
27
-then
28
29
- apk update
30
- apk add coreutils
31
32
- micromamba create -p base python -c conda-forge -y
33
- export PATH="/opt/conda/envs/base/bin:$PATH"
34
35
- eval "$(micromamba shell hook -s bash )"
36
- micromamba activate base
37
38
-else
39
+ micromamba activate
40
micromamba install python -c conda-forge -y
41
42
-fi
43
44
# project dependencies installed via package.json
45
# and postinstall script
46
47
-npm install
+ npm install
0 commit comments