Skip to content

Commit

Permalink
codespaces jupyter not a real hub
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Feb 4, 2024
1 parent ebb4163 commit be39184
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 56 deletions.
53 changes: 50 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,53 @@
{
"image": "ghcr.io/boettiger-lab/nasa-tops:latest",
"runArgs": [ "--security-opt", "seccomp=unconfined" ],
"name": "NASA TOPS Environment"
}

"name": "NASA TOPS Environment",
// build image as a github-action and grab instead; faster.
// "build": {
// "dockerfile": "Dockerfile"
//},
"waitFor": "onCreateCommand",
"features": {
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {},
// Install JupyterLab and IRkernel.
// More info: https://github.com/rocker-org/devcontainer-templates/tree/main/src/r-ver
"ghcr.io/rocker-org/devcontainer-features/r-rig:1": {
"version": "none",
"installJupyterlab": true
}
},
"customizations": {
"codespaces": {
"openFiles": ["README.md"]
},
"vscode": {
"settings": {
"r.rterm.linux": "/usr/local/bin/radian",
"r.bracketedPaste": true,
"r.plot.useHttpgd": true,
"[r]": {
"editor.wordSeparators": "`~!@#%$^&*()-=+[{]}\\|;:'\",<>/?"
}
},
"extensions": [
"reditorsupport.r",
"rdebugger.r-debugger",
"ms-toolsai.jupyter",
"ms-python.python"
]
}
},
// Forward the RStudio ports
"forwardPorts": [8787],
"portsAttributes": {
"8787": {
"label": "Rstudio",
"requireLocalPort": true,
"onAutoForward": "ignore"
}
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash .devcontainer/setup.sh",
"postAttachCommand": "sudo rstudio-server start &> /dev/null && bash .devcontainer/welcome.sh",
"remoteUser": "rstudio"
}
53 changes: 0 additions & 53 deletions .devcontainer/full-devcontainer.json

This file was deleted.

0 comments on commit be39184

Please sign in to comment.