-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8002d71
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ARG BASE_CONTAINER=jupyter/minimal-notebook | ||
FROM $BASE_CONTAINER | ||
|
||
LABEL maintainer="David Blodgett <[email protected]>" | ||
|
||
USER root | ||
|
||
# Stole this from R travis | ||
RUN apt-get update && \ | ||
apt-get -y install software-properties-common && \ | ||
add-apt-repository -y "ppa:marutter/rrutter3.5" && \ | ||
add-apt-repository -y "ppa:marutter/c2d4u3.5" && \ | ||
add-apt-repository -y "ppa:ubuntugis/ubuntugis-unstable" && \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends build-essential gcc g++ libblas-dev liblapack-dev libncurses5-dev libreadline-dev libjpeg-dev libpcre3-dev libpng-dev zlib1g-dev libbz2-dev liblzma-dev libicu-dev cdbs qpdf texinfo libssh2-1-dev gfortran libproj-dev libgeos-dev libgdal-dev r-base-core libudunits2-dev libssl-dev libgit2-dev | ||
|
||
# Install additional R packages. | ||
RUN Rscript -e 'install.packages(c("dataRetrieval", "sf", "RNetCDF", "tidyverse", "devtools", "rmarkdown", "IRkernel"), repos = "https://cloud.r-project.org")' | ||
|
||
USER $NB_UID | ||
|
||
RUN Rscript -e 'IRkernel::installspec()' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
|
||
services: | ||
docker_jupytr_training: | ||
build: . | ||
container_name: docker_jupyter_training | ||
ports: | ||
- "8888:8888" | ||
volumes: | ||
- ./workspace:/home/jovyan/work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is where you scripts and data live. |