Skip to content

Commit

Permalink
Merge pull request #87 from USEPA/main
Browse files Browse the repository at this point in the history
codespace additions
  • Loading branch information
jhollist committed Aug 17, 2023
2 parents 2e43ab5 + 4da64af commit b647fc9
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
@@ -0,0 +1,8 @@
FROM rocker/verse:4.3.1

LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.source="https://github.com/rocker-org/rocker-versioned2" \
org.opencontainers.image.vendor="Rocker Project" \
org.opencontainers.image.authors="Carl Boettiger <cboettig@ropensci.org>"

RUN /rocker_scripts/install_geospatial.sh
36 changes: 36 additions & 0 deletions .devcontainer/devcontainer.json
@@ -0,0 +1,36 @@
{
"name": "R Data Science Environment",
"build": {
"dockerfile": "Dockerfile",
// Update VARIANT to pick a specific R version: 4, 4.1, 4.0
// More info: https://github.com/rocker-org/devcontainer-images/pkgs/container/devcontainer%2Ftidyverse
"args": { "VARIANT": "4" }
},

// Install Dev Container Features. More info: https://containers.dev/features
"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
}
},

// Forward Jupyter and RStudio ports
"forwardPorts": [8787],
"portsAttributes": {
"8787": {
"label": "Rstudio",
"requireLocalPort": true,
"onAutoForward": "ignore"
}
},

// Use 'postAttachCommand' to run commands after the container is started.
"postAttachCommand": "sudo rstudio-server start"

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root
// "remoteUser": "root"
}
14 changes: 14 additions & 0 deletions .devcontainer/requirements.txt
@@ -0,0 +1,14 @@
pybryt
pylint
datascience
otter-grader
numpy
pandas
scipy
folium>=0.9.1
matplotlib
ipywidgets>=7.0.0
bqplot
nbinteract>=0.0.12
okpy
scikit-learn

0 comments on commit b647fc9

Please sign in to comment.