File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 "forwardPorts" : [3000 ],
1313
1414 // Use 'postCreateCommand' to run commands after the container is created.
15- "postCreateCommand" : " chmod +x .devcontainer/postCreateCommand.sh && .devcontainer/postCreateCommand.sh" ,
15+ // "postCreateCommand": "export DEBIAN_FRONTEND=noninteractive && chmod +x .devcontainer/postCreateCommand.sh && .devcontainer/postCreateCommand.sh",
1616
1717 // Configure tool-specific properties.
1818 "customizations" : {
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- export DEBIAN_FRONTEND =noninteractive
4+ dpkg-reconfigure debconf --frontend =noninteractive
55
66apt-get update
77apt-get install -y sudo
8- sudo apt-get install -y git python3 python3-pip curl
8+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y git python3 python3-pip curl
99
1010# This is expected to be run at the root of the repository
1111pwd
1212export PIP_BREAK_SYSTEM_PACKAGES=1
1313python3 -m pip install jupyter-book --pre
1414
1515curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
16- export NVM_DIR=" /.jbdevcontainer/config/nvm"
16+ NVM_DIR=" /.jbdevcontainer/config/nvm"
17+ export NVM_DIR=" $NVM_DIR "
1718[ -s " $NVM_DIR /nvm.sh" ] && \. " $NVM_DIR /nvm.sh" # This loads nvm
1819nvm install 22.17
1920
You can’t perform that action at this time.
0 commit comments