Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new R image. See #27742 #199

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/d4science-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
"single-user-criticalzone/Dockerfile"
"single-user-ecologicalrestorationlab/Dockerfile"
"single-user-pluto-d4science/Dockerfile"
"single-user-sobigdata-itineris/Dockerfile"


base-image:
Expand Down
88 changes: 88 additions & 0 deletions single-user-sobigdata-itineris/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# ITINERIS EV (see #27742)

ARG BASE_IMAGE=eginotebooks/base:latest
FROM $BASE_IMAGE

USER root

RUN apt update \
&& apt install --no-install-recommends -y \
nco \
cdo \
cmake \
g++ \
libcurl4-openssl-dev \
libssl-dev \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

USER $NB_UID

RUN Rscript -e "install.packages(\
c('dplyr',\
'ggplot2', \
'purrr', \
'readr', \
'stringr', \
'tibble', \
'tidyr', \
'countrycode', \
'dtplyr', \
'geodata', \
'geojsonsf', \
'ggforce', \
'httr2', \
'jqr', \
'jsonlite', \
'leaflet', \
'lifecycle', \
'lubridate', \
'magrittr', \
'qrcode', \
'raster', \
'RColorBrewer', \
'Rdpack', \
'rosm', \
'sf', \
'spocc', \
'stringi', \
'taxize', \
'terra', \
'tmap', \
'units', \
'webshot', \
'worrms', \
'XML', \
'xml2', \
'zen4R', \
'lattice', \
'latticeExtra', \
'ncdf4', \
'rasterVis', \
'writexl', \
'readxl', \
'xts', \
'rlang', \
'Shiny', \
'plyr', \
'zoo', \
'shinydashboard', \
'data.table', \
'lubridate', \
'devtools', \
'waffle'), \
repos = c('http://cran.r-project.org'))"

RUN Rscript -e "utils::install.packages('ReLTER', \
repos = 'https://ropensci.r-universe.dev')"


#RUN Rscript -e "devtools::install_github('ropensci/ReLTER', \
# 'rspatial/geodata', \
# 'ropensci/MODIStsp')"

# -------------------------------
# JupyterLab extensions
# -------------------------------
RUN pip install --no-cache-dir jupyterlab-topbar
RUN jupyter labextension disable @jupyterlab/filebrowser-extension:share-file